[gnome-control-center] network: fix a crasher due to an uninitialized GVariant
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: fix a crasher due to an uninitialized GVariant
- Date: Mon, 7 Feb 2011 14:55:56 +0000 (UTC)
commit 6baa1a05dd9f3865ce72e86b8ec20e89f749062d
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Feb 6 16:26:02 2011 -0500
network: fix a crasher due to an uninitialized GVariant
panels/network/cc-network-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 3a29a8b..924e1fe 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -1615,7 +1615,7 @@ panel_populate_wireless_device (PanelDeviceItem *item)
GVariant *bitrate;
GVariant *hw_address;
GVariant *ip4;
- GVariant *ip6;
+ GVariant *ip6 = NULL;
GVariant *nameservers = NULL;
GVariant *routes = NULL;
CcNetworkPanelPrivate *priv = item->panel->priv;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]