Wireshark mailing list archives

capture_dlg.c: several "unused_but_set" warnings [GCC 4.6]


From: Bill Meier <wmeier () newsguy com>
Date: Wed, 10 Aug 2011 17:26:54 -0400

capture_dlg.c: In function ‘insert_new_rows’:

capture_dlg.c:665:18: warning: variable ‘cap_settings’ set but not used [-Wunused-but-set-variable] capture_dlg.c:664:8: warning: variable ‘linktype_select’ set but not used [-Wunused-but-set-variable]


capture_dlg.c: In function ‘create_and_fill_model’:

capture_dlg.c:3532:12: warning: variable ‘pre_selected’ set but not used [-Wunused-but-set-variable] capture_dlg.c:3521:8: warning: variable ‘linktype_select’ set but not used [-Wunused-but-set-variable]


capture_dlg.c: In function ‘capture_prep_adjust_sensitivity’:

capture_dlg.c:3934:14: warning: variable ‘if_cb’ set but not used [-Wunused-but-set-variable]
___________________________________________________________________________
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: