Did some static analysis, fixed some bugs and optimized a lot of code
This commit is contained in:
@@ -935,7 +935,8 @@ BOOL StackWalker::LoadModules()
|
||||
break;
|
||||
}
|
||||
} // for (search for path separator...)
|
||||
if (strlen(szTemp) > 0)
|
||||
|
||||
if (szTemp[0] != '\0') // If szTemp is not empty (Note: This is more efficient than using strlen)
|
||||
{
|
||||
strcat_s(szSymPath, nSymPathLen, szTemp);
|
||||
strcat_s(szSymPath, nSymPathLen, ";");
|
||||
|
||||
Reference in New Issue
Block a user