summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2001-11-30 15:58:23 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2001-11-30 15:58:23 (GMT)
commit1499a4268d3038abf3947b1e8ec15b00e7f1d91c (patch)
tree8561ba2bb3819d80bdcf97e29b0c6d9803d7c869 /Source/CursesDialog
parent86e75e0d3940fc14445c16535ce3ffb43a59492e (diff)
downloadCMake-1499a4268d3038abf3947b1e8ec15b00e7f1d91c.zip
CMake-1499a4268d3038abf3947b1e8ec15b00e7f1d91c.tar.gz
CMake-1499a4268d3038abf3947b1e8ec15b00e7f1d91c.tar.bz2
Fixed warning.
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/ccmake.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index 3334131..0bf5617 100644
--- a/Source/CursesDialog/ccmake.cxx
+++ b/Source/CursesDialog/ccmake.cxx
@@ -39,11 +39,12 @@ void CMakeErrorHandler(const char* message, const char* title, bool& disable)
int main(int argc, char** argv)
{
unsigned int i;
+ int j;
cmake msg;
std::vector<std::string> args;
- for(i =0; i < argc; ++i)
+ for(j =0; j < argc; ++j)
{
- args.push_back(argv[i]);
+ args.push_back(argv[j]);
}
for(i=1; i < args.size(); ++i)