From bd60bedbdb5786de5476dc99634b1bce74b40535 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 26 Oct 2007 16:32:14 +0000 Subject: [PATCH] Fix potentially uinitialized variable usage git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3022 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- vpn-daemons/openvpn/src/nm-openvpn-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpn-daemons/openvpn/src/nm-openvpn-service.c b/vpn-daemons/openvpn/src/nm-openvpn-service.c index 9d5e10fc90..d8f3e4221b 100644 --- a/vpn-daemons/openvpn/src/nm-openvpn-service.c +++ b/vpn-daemons/openvpn/src/nm-openvpn-service.c @@ -281,7 +281,7 @@ openvpn_watch_cb (GPid pid, gint status, gpointer user_data) { NMVPNPlugin *plugin = NM_VPN_PLUGIN (user_data); NMOpenvpnPluginPrivate *priv = NM_OPENVPN_PLUGIN_GET_PRIVATE (plugin); - guint error; + guint error = 0; if (WIFEXITED (status)) { error = WEXITSTATUS (status);