Forráskód Böngészése

ERR: Less-than-zero test replaced with greater-than-zero since we want zero arguments.

Brad King 25 éve
szülő
commit
50c9139628
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Source/cmWrapTclCommand.cxx

+ 1 - 1
Source/cmWrapTclCommand.cxx

@@ -18,7 +18,7 @@
 // cmWrapTclCommand
 bool cmWrapTclCommand::Invoke(std::vector<std::string>& args)
 {
-  if(args.size() < 0 )
+  if(args.size() > 0 )
     {
     this->SetError("called with incorrect number of arguments");
     return false;