winetest: Remove duplicate if check.
Sebastian Lackner
sebastian at fds-team.de
Sun Jul 31 13:04:10 CDT 2016
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
All function tables contain the same number of functions.
programs/winetest/gui.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/programs/winetest/gui.c b/programs/winetest/gui.c
index a8bcf05..2948d7e 100644
--- a/programs/winetest/gui.c
+++ b/programs/winetest/gui.c
@@ -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;
--
2.9.0
More information about the wine-patches
mailing list