diff --git a/ChangeLog b/ChangeLog index 62d8937e99..6a78f6b49e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-01 Robert Love + + * 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 Patch from Bill Nottingham diff --git a/gnome/applet/applet.c b/gnome/applet/applet.c index e2bdd201e2..788753affc 100644 --- a/gnome/applet/applet.c +++ b/gnome/applet/applet.c @@ -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;