ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: Michael Tüxen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Sat, 13 Aug 2011 22:22:26 +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]
> 
> 
> 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]
Hi Bill,

they should all be fixed in r38519. If this is not the case or there are new
ones, please let me know.

Best regards
Michael
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>