summaryrefslogtreecommitdiffstats
path: root/Source/cmRemoveCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-03-21 16:24:09 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-03-21 16:24:09 (GMT)
commit0a29ebad97ec1b63c7f452baef0ec2b050158f45 (patch)
treec427ac924add7229241eea1134cf1854b5a50fea /Source/cmRemoveCommand.cxx
parentaabd048825980cbd6b15b9d6d88dca67c317e19d (diff)
downloadCMake-0a29ebad97ec1b63c7f452baef0ec2b050158f45.zip
CMake-0a29ebad97ec1b63c7f452baef0ec2b050158f45.tar.gz
CMake-0a29ebad97ec1b63c7f452baef0ec2b050158f45.tar.bz2
BUG: fix broken command
Diffstat (limited to 'Source/cmRemoveCommand.cxx')
-rw-r--r--Source/cmRemoveCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmRemoveCommand.cxx b/Source/cmRemoveCommand.cxx
index 44c33d4..a0471a7 100644
--- a/Source/cmRemoveCommand.cxx
+++ b/Source/cmRemoveCommand.cxx
@@ -51,10 +51,10 @@ bool cmRemoveCommand::InitialPass(std::vector<std::string> const& args)
// now create the new value
std::string value;
- for(unsigned int j = 1; j < varArgsExpanded.size(); ++j)
+ for(unsigned int j = 0; j < varArgsExpanded.size(); ++j)
{
int found = 0;
- for(unsigned int k = 1; k < argsExpanded.size(); ++k)
+ for(unsigned int k = 0; k < argsExpanded.size(); ++k)
{
if (varArgsExpanded[j] == argsExpanded[k])
{