X11 generator: avoid extraneous parens in conditionals.
authorJeff Morriss <jeff.morriss.ws@gmail.com>
Tue, 20 Oct 2015 20:14:21 +0000 (16:14 -0400)
committerGerald Combs <gerald@wireshark.org>
Tue, 20 Oct 2015 23:44:06 +0000 (23:44 +0000)
commit4a5977b587deeca40d9bbdd55a0ebf3f33059372
tree4af8a70e91c1e57b34c2badaf1978b59240e6b98
parent9768a3e8a06d7a8fd8b5751ef24a1279446ba933
X11 generator: avoid extraneous parens in conditionals.

This is to avoid complaints from clang of the form:

wireshark/epan/dissectors/x11-extension-implementation.h:17021:18: error:
equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
        if ((f_class_id == 0)) {
             ~~~~~~~~~~~^~~~

Change-Id: I91d629ad47677b71909d7da517c4a6198c276186
Reviewed-on: https://code.wireshark.org/review/11186
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
epan/dissectors/x11-extension-implementation.h
epan/dissectors/x11-glx-render-enum.h
tools/process-x11-xcb.pl