Wireshark mailing list archives

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


From: Michael Tüxen <Michael.Tuexen () lurchi franken de>
Date: Thu, 11 Aug 2011 15:00:34 +0200

On Aug 10, 2011, at 11:26 PM, Bill Meier wrote:

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]
These both are not yet fixed, since there are an indication of a bug I'm fixing.
This is also related to the CID 1251 and 1252. 


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]
Fixed in r38484.
capture_dlg.c:3521:8: warning: variable ‘linktype_select’ set but not used [-Wunused-but-set-variable]
Fixed in r38484.


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]
Fixed in r38484.

Thanks for reporting.
___________________________________________________________________________
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


___________________________________________________________________________
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: