Applied two suggestions of XhmikosR:

- Added UTF8 signature to VS10 solution
- Prefer prefix operator++ (cppcheck catch)
This commit is contained in:
PKEuS 2012-09-05 15:34:37 +02:00
parent f969530e1f
commit 536492d5f0
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
Microsoft Visual Studio Solution File, Format Version 11.00
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cli", "cli\cli.vcxproj", "{35CBDF51-2456-3EC3-99ED-113C30858883}"
ProjectSection(ProjectDependencies) = postProject

View File

@ -684,7 +684,7 @@ void CheckUnusedVar::checkFunctionVariableUsage_iterateScopes(const Scope* const
checkFunctionVariableUsage_iterateScopes(*i, variables, true, usedVariables); // Scan child scope
insideLoop = false;
std::vector<unsigned int>::iterator it;
for (it = usedVariables.begin(); it != usedVariables.end(); it++) {
for (it = usedVariables.begin(); it != usedVariables.end(); ++it) {
variables.read((*it), tok);
}
tok = (*i)->classStart->link();