mirror of https://github.com/vitalif/openscad
Found more search PRINTB warnings to remove
parent
e8c8bda674
commit
9897174a03
|
@ -849,12 +849,6 @@ ValuePtr builtin_search(const Context *, const EvalContext *evalctx)
|
|||
}
|
||||
}
|
||||
if (num_returns_per_match == 1 && matchCount == 0) {
|
||||
if (findThis->toVector()[i].type() == Value::NUMBER) {
|
||||
PRINTB(" WARNING: search term not found: %s",findThis->toVector()[i].toDouble());
|
||||
}
|
||||
else if (findThis->toVector()[i].type() == Value::STRING) {
|
||||
PRINTB(" WARNING: search term not found: \"%s\"",findThis->toVector()[i].toString());
|
||||
}
|
||||
returnvec.push_back(resultvec);
|
||||
}
|
||||
if (num_returns_per_match == 0 || num_returns_per_match > 1) {
|
||||
|
@ -862,7 +856,6 @@ ValuePtr builtin_search(const Context *, const EvalContext *evalctx)
|
|||
}
|
||||
}
|
||||
} else {
|
||||
PRINTB(" WARNING: search: none performed on input %s", findThis);
|
||||
return ValuePtr::undefined;
|
||||
}
|
||||
return ValuePtr(returnvec);
|
||||
|
|
Loading…
Reference in New Issue