Salome HOME
Remove unnecessary variable
[modules/shaper.git] / src / GeomValidators / GeomValidators_BooleanArguments.cpp
index c8a75ead58c3c381878b42e444e02b263b2d0604..b54344510c0a0be1fc56640cfabd15685172529f 100644 (file)
@@ -15,6 +15,7 @@ bool GeomValidators_BooleanArguments::isValid(const std::shared_ptr<ModelAPI_Fea
                                               std::string& theError) const
 {
   if(theArguments.size() != 3) {
+    theError = "Wrong number of arguments (expected 3).";
     return false;
   }