mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 07:50:16 +01:00
Fix potentially uinitialized variable usage
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3022 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
2b0426ed31
commit
bd60bedbdb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue