wired: fix uninitialized variable

This commit is contained in:
Mathieu Trudel-Lapierre 2010-11-19 16:17:40 -06:00 committed by Dan Williams
parent 3992c7db50
commit 3951942fa1

View file

@ -295,7 +295,7 @@ _update_s390_subchannels (NMDeviceEthernet *self)
const char *iface;
GUdevClient *client;
GUdevDevice *dev;
GUdevDevice *parent;
GUdevDevice *parent = NULL;
const char *parent_path, *item, *driver;
const char *subsystems[] = { "net", NULL };
GDir *dir;