summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManeesh Jain <maneesh.jain@samsung.com>2016-01-18 15:45:13 (GMT)
committerManeesh Jain <maneesh.jain@samsung.com>2016-01-18 15:47:17 (GMT)
commite5fee8e7e02b8fb9c752afbe8b9acb25095a96c8 (patch)
treef415c524fed0f08d3d408048a036905df413b355
parentd3abdac2b2d1270577d8404df198acf6a5ff50ad (diff)
downloadconnman-e5fee8e7e02b8fb9c752afbe8b9acb25095a96c8.zip
connman-e5fee8e7e02b8fb9c752afbe8b9acb25095a96c8.tar.gz
connman-e5fee8e7e02b8fb9c752afbe8b9acb25095a96c8.tar.bz2
[vpn]:Initialized variable "err" to avoid error condition failurerefs/changes/89/57289/1
Change-Id: Iebc480c352206a809942a769cbc0d0ba4c194b87 Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
-rwxr-xr-xplugins/vpn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/vpn.c b/plugins/vpn.c
index e6e4c8e..ba5841e 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