Find @override functions even when there's only one

This commit is contained in:
Bill Currie 2020-02-14 18:13:55 +09:00
parent 98216c6eb0
commit 8920c59515

View file

@ -338,7 +338,7 @@ find_function (expr_t *fexpr, expr_t *params)
return fexpr;
for (func_count = 0; funcs[func_count]; func_count++)
;
if (func_count < 2) {
if (func_count < 1) {
free (funcs);
return fexpr;
}