> 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                                           <jma...@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-requ...@wireshark.org?subject=unsubscribe

Reply via email to