core: fix uninitialized variable

This commit is contained in:
Bryan Duff
2009-08-26 11:28:14 -05:00
committed by Dan Williams
parent 180ad403b8
commit 8a6cbdfb88

View File

@@ -666,7 +666,7 @@ get_driver_name (GUdevDevice *device)
{
GUdevDevice *parent = NULL;
const char *driver;
char *ret;
char *ret = NULL;
driver = g_udev_device_get_driver (device);
if (!driver) {