diff options
| author | kaelima <kaelima@live.se> | 2012-09-04 23:33:11 +0200 |
|---|---|---|
| committer | kaelima <kaelima@live.se> | 2012-09-04 23:33:11 +0200 |
| commit | 69602df83388e89dc473936f08992c48022a73f0 (patch) | |
| tree | a14da45c6b003fcb4e67baef3d42a7c1a239ceb2 /src/tools | |
| parent | 306e4c173c2a2c050af61f8eb511c67496621a60 (diff) | |
Core/MMaps: Fix some uninitialized variable complaints in PathGenerator
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/mmaps_generator/PathGenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/mmaps_generator/PathGenerator.cpp b/src/tools/mmaps_generator/PathGenerator.cpp index 026bf957ec4..9707cb4160a 100644 --- a/src/tools/mmaps_generator/PathGenerator.cpp +++ b/src/tools/mmaps_generator/PathGenerator.cpp @@ -26,14 +26,14 @@ bool checkDirectories(bool debugOutput) { vector<string> dirFiles; - if (getDirContents(dirFiles, "maps") == LISTFILE_DIRECTORY_NOT_FOUND || !dirFiles.size()) + if (getDirContents(dirFiles, "maps") == LISTFILE_DIRECTORY_NOT_FOUND || dirFiles.empty()) { printf("'maps' directory is empty or does not exist\n"); return false; } dirFiles.clear(); - if (getDirContents(dirFiles, "vmaps", "*.vmtree") == LISTFILE_DIRECTORY_NOT_FOUND || !dirFiles.size()) + if (getDirContents(dirFiles, "vmaps", "*.vmtree") == LISTFILE_DIRECTORY_NOT_FOUND || dirFiles.empty()) { printf("'vmaps' directory is empty or does not exist\n"); return false; |
