From 0333e87e8b7c14350293e9b9e8a3c6edbec3338c Mon Sep 17 00:00:00 2001 From: Maneesh Jain Date: Wed, 26 Aug 2015 14:46:37 +0530 Subject: [PATCH] [connection]: Fixed build error of test code =================================== connection_test.c:512:9: error: 'address_family' may be used uninitialized in this function ==================================== Change-Id: I3a45af9f078f3cf4dbfb159e3d4eacf23cfab906 Signed-off-by: Maneesh Jain --- test/connection_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/connection_test.c b/test/connection_test.c index dde3efd..569fbe1 100755 --- a/test/connection_test.c +++ b/test/connection_test.c @@ -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); -- 2.7.4