summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorManeesh Jain <maneesh.jain@samsung.com>2016-01-18 10:45:13 -0500
committerManeesh Jain <maneesh.jain@samsung.com>2016-01-18 10:47:17 -0500
commite5fee8e7e02b8fb9c752afbe8b9acb25095a96c8 (patch)
treef415c524fed0f08d3d408048a036905df413b355 /plugins
parentd3abdac2b2d1270577d8404df198acf6a5ff50ad (diff)
downloadconnman-e5fee8e7e02b8fb9c752afbe8b9acb25095a96c8.tar.gz
connman-e5fee8e7e02b8fb9c752afbe8b9acb25095a96c8.tar.bz2
connman-e5fee8e7e02b8fb9c752afbe8b9acb25095a96c8.zip
[vpn]:Initialized variable "err" to avoid error condition failure
Change-Id: Iebc480c352206a809942a769cbc0d0ba4c194b87 Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/vpn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/vpn.c b/plugins/vpn.c
index e6e4c8e0..ba5841e1 100755
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -1705,7 +1705,7 @@ static gboolean property_changed(DBusConnection *conn,
struct connection_data *data = NULL;
DBusMessageIter iter, value;
bool ip_set = false;
- int err;
+ int err = 0;
char *str;
const char *key;
const char *signature = DBUS_TYPE_STRING_AS_STRING