summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-08-07 15:01:06 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-08-07 15:01:06 (GMT)
commit86709a4ccf72e8519db2ad01917badad657562a8 (patch)
tree9d4735cca5cd906d20c691f4fb4198902743d07e
parent3704cc268e7e9d9f3c8d71095e9af25486b5ae61 (diff)
downloadCMake-86709a4ccf72e8519db2ad01917badad657562a8.zip
CMake-86709a4ccf72e8519db2ad01917badad657562a8.tar.gz
CMake-86709a4ccf72e8519db2ad01917badad657562a8.tar.bz2
fixed some compiler warnings and leaks
-rw-r--r--Source/cmCreateTestSourceList.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx
index ac9b3a2..5fea91c 100644
--- a/Source/cmCreateTestSourceList.cxx
+++ b/Source/cmCreateTestSourceList.cxx
@@ -202,7 +202,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn)
"\n"
"int main(int ac, char *av[])\n"
"{\n"
- " int i, testNum, partial_match;\n"
+ " int i, NumTests, testNum, partial_match;\n"
" char *arg, *test_name;\n"
" \n"
" NumTests = " << numTests << ";\n"