[connection]: Fixed build error of test code 07/46807/1
authorManeesh Jain <maneesh.jain@samsung.com>
Wed, 26 Aug 2015 09:16:37 +0000 (14:46 +0530)
committerManeesh Jain <maneesh.jain@samsung.com>
Wed, 26 Aug 2015 09:16:37 +0000 (14:46 +0530)
===================================
connection_test.c:512:9: error: 'address_family' may be used
uninitialized in this function
====================================

Change-Id: I3a45af9f078f3cf4dbfb159e3d4eacf23cfab906
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
test/connection_test.c

index dde3efd..569fbe1 100755 (executable)
@@ -496,7 +496,7 @@ static int test_update_network_info(connection_profile_h profile)
 {
        int rv = 0;
        int input_int = 0;
-       int address_family;
+       int address_family = 0;
 
        test_get_user_int("Input Address Family (0:IPv4 1:IPv6) :", &address_family);