forked from osmocom/wireshark
fix a warning: "airpcap_loader.c(2287) : warning C4700: local variable 'ad' used without having been initialized"
svn path=/trunk/; revision=19771
This commit is contained in:
parent
ff1a0d33ad
commit
21671dbedf
|
@ -2284,7 +2284,7 @@ set_airpcap_decryption(gboolean on_off)
|
|||
|
||||
/* Set the driver decryption */
|
||||
ad_driver = airpcap_if_open(fake_if_info->name, ebuf);
|
||||
if(ad)
|
||||
if(ad_driver)
|
||||
{
|
||||
if(on_off)
|
||||
airpcap_if_set_driver_decryption_state(ad_driver,AIRPCAP_DECRYPTION_ON);
|
||||
|
|
Loading…
Reference in New Issue