Skip to content

Commit

Permalink
Return tabPNPID search result into static variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dliroulet committed Oct 30, 2012
1 parent 85ea893 commit b1c1e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SysInfo/ISA_PNPID.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2259,7 +2259,7 @@ char *tabPNPID[] = {
LPCSTR ISA_PNPID_search( LPCSTR lpstrID)
{
BOOL bFound = FALSE;
CStringA csBuffer;
static CStringA csBuffer;

for (UINT i=0; !bFound; i+=2)
{
Expand Down

0 comments on commit b1c1e71

Please sign in to comment.