Wireshark-commits: [Wireshark-commits] master-2.0 f71e0fa: X11 generator: avoid extraneous parens i
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f71e0fa609100d70164e144e0c2c0d4ff9050526
Submitter: Jeff Morriss (jeff.morriss.ws@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
f71e0fa by Jeff Morriss (jeff.morriss.ws@xxxxxxxxx):
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@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
(cherry picked from commit 4a5977b587deeca40d9bbdd55a0ebf3f33059372)
Reviewed-on: https://code.wireshark.org/review/11188
Reviewed-by: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Actions performed:
from 9b2875e TDS: add more casts to please OSX 10.5 x86 buildbot
adds f71e0fa X11 generator: avoid extraneous parens in conditionals.
Summary of changes:
epan/dissectors/x11-extension-implementation.h | 364 ++++++++++++------------
epan/dissectors/x11-glx-render-enum.h | 2 +-
tools/process-x11-xcb.pl | 19 +-
3 files changed, 199 insertions(+), 186 deletions(-)