Commit 13aa0c04 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

winetest: Remove duplicate if check.

parent aa4a1e17
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment