[network-manager-applet/rm-userset] trivial: fix possible uninitialized variable usage



commit cc472cea1021dee90714703380a79e326aa0e681
Author: Dan Williams <dcbw redhat com>
Date:   Thu Jan 27 10:59:37 2011 -0600

    trivial: fix possible uninitialized variable usage

 src/applet-dialogs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/applet-dialogs.c b/src/applet-dialogs.c
index d2bcf51..0ecddd0 100644
--- a/src/applet-dialogs.c
+++ b/src/applet-dialogs.c
@@ -321,7 +321,7 @@ info_dialog_add_page (GtkNotebook *notebook,
 	GtkTable *table;
 	guint32 speed = 0;
 	char *str;
-	const char *iface, *method;
+	const char *iface, *method = NULL;
 	NMIP4Config *ip4_config;
 	NMIP6Config *ip6_config;
 	const GArray *dns;



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