And a very small error in ModemManager
- From: Bryan Duff <duff0097 gmail com>
- To: networkmanager-list gnome org
- Subject: And a very small error in ModemManager
- Date: Mon, 24 Aug 2009 10:23:05 -0500
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]