瀏覽代碼

BUG: fix command line parser bug

Bill Hoffman 22 年之前
父節點
當前提交
ea28cef201
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      Source/cmCTest.cxx

+ 0 - 4
Source/cmCTest.cxx

@@ -3749,10 +3749,6 @@ int cmCTest::Run(std::vector<std::string>const& args, std::string* output)
           ++i;
           }
         }
-      if(i < args.size())
-        {
-        --i;
-        }
       }
     if(arg.find("--test-command",0) == 0 && i < args.size() - 1)
       {