Wireshark mailing list archives
Re: Compile warnings (Was: rev 40479)
From: Joerg Mayer <jmayer () loplof de>
Date: Sat, 14 Jan 2012 13:03:44 +0100
What are the warnings in packet-gsm_a_common.c and packet-x11.c?
Looks like my reply got stuck in moderation due to size. So here is the (incomplete) short version: jmayer@egg:/tmp/qt/epan> make dissectors/packet-gsm_a_common.c.o Building C object epan/CMakeFiles/epan.dir/dissectors/packet-gsm_a_common.c.o /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c: In function ‘elem_t’: /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c:1539:13: warning: variable ‘elem_funcs’ set but not used [-Wunused-but-set-variable] /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c:1538:9: warning: variable ‘elem_ett’ set but not used [-Wunused-but-set-variable] /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c: In function ‘elem_v_short’: /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c:1756:9: warning: variable ‘elem_ett’ set but not used [-Wunused-but-set-variable] /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c:1755:22: warning: variable ‘elem_names’ set but not used [-Wunused-but-set-variable] In file included from /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-x11.c:3063:0: /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h: In function ‘mesa_CallLists’: /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h:38:9: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] In file included from /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-x11.c:3063:0: /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h: In function ‘bigreqEnable_Reply’: /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h:4832: 9: warning: variable ‘f_maximum_request_length’ set but not used [-Wunused-but-set-variable] /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h:4831: 19: warning: variable ‘length’ set but not used [-Wunused-but-set-variable] /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h: In function ‘struct_POINT’: /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h:4892: 6: warning: variable ‘f_y’ set but not used [-Wunused-but-set-variable] /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h:4891: 6: warning: variable ‘f_x’ set but not used [-Wunused-but-set-variable] /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h: In function ‘struct_RECTANGLE’: [several hundreds more deleted] -- Joerg Mayer <jmayer () loplof de> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: [Wireshark-commits] rev 40479: /trunk/epan/ /trunk/epan/dissectors/: Makefile.common /trunk/epan/: CMakeLists.txt Joerg Mayer (Jan 13)
- Re: [Wireshark-commits] rev 40479: /trunk/epan/ /trunk/epan/dissectors/: Makefile.common /trunk/epan/: CMakeLists.txt Guy Harris (Jan 13)
- Re: [Wireshark-commits] rev 40479: /trunk/epan/ /trunk/epan/dissectors/: Makefile.common /trunk/epan/: CMakeLists.txt Joerg Mayer (Jan 13)
- Compile warnings (Was: rev 40479) Joerg Mayer (Jan 13)
- Re: Compile warnings (Was: rev 40479) Guy Harris (Jan 13)
- Re: Compile warnings (Was: rev 40479) Joerg Mayer (Jan 14)
- Re: [Wireshark-commits] rev 40479: /trunk/epan/ /trunk/epan/dissectors/: Makefile.common /trunk/epan/: CMakeLists.txt Joerg Mayer (Jan 13)
- Re: [Wireshark-commits] rev 40479: /trunk/epan/ /trunk/epan/dissectors/: Makefile.common /trunk/epan/: CMakeLists.txt Guy Harris (Jan 13)
- Re: [Wireshark-commits] rev 40479: /trunk/epan/ /trunk/epan/dissectors/: Makefile.common /trunk/epan/: CMakeLists.txt Guy Harris (Jan 13)