tweaks: remove an old fault-catching message

master
Benno Schulenberg 2017-05-16 20:05:15 +02:00
parent e8f90789e9
commit d29d49aece
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ const char *strstrwrapper(const char *haystack, const char *needle,
regmatches[0].rm_eo = far_end; regmatches[0].rm_eo = far_end;
if (regexec(&search_regexp, haystack, 10, regmatches, if (regexec(&search_regexp, haystack, 10, regmatches,
REG_STARTEND) != 0) REG_STARTEND) != 0)
statusline(ALERT, "BAD: failed to refind the match!"); return NULL;
return haystack + regmatches[0].rm_so; return haystack + regmatches[0].rm_so;
} }