winetest: Remove duplicate if check.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-07-31 20:04:10 +02:00 committed by Alexandre Julliard
parent aa4a1e17a2
commit 13aa0c0419
1 changed files with 1 additions and 2 deletions

View File

@ -547,8 +547,7 @@ report (enum report_type t, ...)
}
va_start (ap, t);
if (t < sizeof text_funcs / sizeof text_funcs[0] &&
t < sizeof GUI_funcs / sizeof GUI_funcs[0]) ret = funcs[t](ap);
if (t < sizeof text_funcs / sizeof text_funcs[0]) ret = funcs[t](ap);
else report (R_WARNING, "unimplemented report type: %d", t);
va_end (ap);
return ret;