Wireshark-dev: Re: [Wireshark-dev] capture_dlg.c: several "unused_but_set" warnings [GCC 4.6]
From: Michael Tüxen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Thu, 11 Aug 2011 06:57:19 +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,

thanks for the report. I'm still investigating how to fix two CID. I'll try to fix these warnings
too.

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
>