[network-manager-applet/NMA_0_8] applet: fix possibly uninitialized variable
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/NMA_0_8] applet: fix possibly uninitialized variable
- Date: Mon, 2 May 2011 23:44:30 +0000 (UTC)
commit bbe547f7985498e0bc353ccd2e8e6f9a4a89249b
Author: Dan Williams <dcbw redhat com>
Date: Mon May 2 18:44:18 2011 -0500
applet: fix possibly uninitialized variable
Thanks to Michael Biebl.
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 42f3d2b..5965a75 100644
--- a/src/applet-dialogs.c
+++ b/src/applet-dialogs.c
@@ -328,7 +328,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]