diff --git a/src/func.cc b/src/func.cc index c7fbba51..e6dfbccc 100644 --- a/src/func.cc +++ b/src/func.cc @@ -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);