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:
parent
aa4a1e17a2
commit
13aa0c0419
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue