Found more search PRINTB warnings to remove
This commit is contained in:
parent
e8c8bda674
commit
9897174a03
1 changed files with 0 additions and 7 deletions
|
|
@ -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 a new issue