fixed some issues found by cppcheck

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6740 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
sireus
2011-12-19 21:02:57 +00:00
parent 4143a24d93
commit 77c2dd3944
6 changed files with 67 additions and 61 deletions
+1
View File
@@ -358,6 +358,7 @@ void checkmapdependencies(bool silent = false, bool details = false) // find req
}
}
enumeratek(mufpaths, const char *, key, mufpaths.remove(key)); // don't report false positives next time round
delete[] packn;
}
void wrapCMD(int i) { checkmapdependencies(false, i!=0); }
//COMMAND(checkmapdependencies, ARG_NONE); // for some reason this still results in silent==true - WTF? It used to work with the _proper_ default.