2005-09-01 Robert Love <rml@novell.com>

* gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
	  and the check "!iface" in the error case is probably never true.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@923 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love 2005-09-01 17:05:33 +00:00 committed by Robert Love
parent ca0065e2f6
commit 92e67d5577
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-09-01 Robert Love <rml@novell.com>
* gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
and the check "!iface" in the error case is probably never true.
2005-09-01 Dan Williams <dcbw@redhat.com>
Patch from Bill Nottingham <notting@redhat.com>

View file

@ -211,7 +211,7 @@ static gboolean nmwa_update_info (NMWirelessApplet *applet)
struct ifreq ifr;
int fd, flags;
gboolean ret_val = TRUE;
const char *iface;
const char *iface = NULL;
NetworkDevice *dev;
gboolean ret = TRUE;