And a very small error in ModemManager



Unintialized variable.

-Bryan
diff --git a/src/mm-plugin-base.c b/src/mm-plugin-base.c
index 198108c..3b21930 100644
--- a/src/mm-plugin-base.c
+++ b/src/mm-plugin-base.c
@@ -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) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]