From 3951942fa1f505e5ab2d7802004c8b6708da469e Mon Sep 17 00:00:00 2001 From: Mathieu Trudel-Lapierre Date: Fri, 19 Nov 2010 16:17:40 -0600 Subject: [PATCH] wired: fix uninitialized variable --- src/nm-device-ethernet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nm-device-ethernet.c b/src/nm-device-ethernet.c index 13139542fa..00e8a2167a 100644 --- a/src/nm-device-ethernet.c +++ b/src/nm-device-ethernet.c @@ -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;