Add default case to fix build warning 59/69859/1 accepted/tizen/common/20160518.124817 accepted/tizen/ivi/20160518.003837 accepted/tizen/mobile/20160518.003813 accepted/tizen/tv/20160518.003828 accepted/tizen/wearable/20160518.003803 submit/tizen/20160517.075821
authorhyunuktak <hyunuk.tak@samsung.com>
Tue, 17 May 2016 05:55:31 +0000 (14:55 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Tue, 17 May 2016 05:55:34 +0000 (14:55 +0900)
Change-Id: I2e321f0224180261ffe8d973b9532b6c06eec046
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/capi-network-connection.spec
test/connection_test.c

index 02347ae..5f97345 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          capi-network-connection
 Summary:       Network Connection library in TIZEN C API
-Version:       1.0.85
+Version:       1.0.86
 Release:       1
 Group:         System/Network
 License:       Apache-2.0
index 7d6007f..4fec771 100755 (executable)
@@ -170,26 +170,28 @@ static const char *test_print_cellular_service_type(connection_cellular_service_
 static const char* test_print_cellular_auth_type(connection_cellular_auth_type_e type)
 {
        switch (type) {
-       case CONNECTION_CELLULAR_AUTH_TYPE_NONE:
-               return "None";
        case CONNECTION_CELLULAR_AUTH_TYPE_PAP:
                return "PAP";
        case CONNECTION_CELLULAR_AUTH_TYPE_CHAP:
                return "CHAP";
+       case CONNECTION_CELLULAR_AUTH_TYPE_NONE:
+       default:
+               return "None";
        }
 }
 
 static const char* test_print_cellular_pdn_type(connection_cellular_pdn_type_e type)
 {
        switch (type) {
-       case CONNECTION_CELLULAR_PDN_TYPE_UNKNOWN:
-               return "Unknown";
        case CONNECTION_CELLULAR_PDN_TYPE_IPV4:
                return "IPv4";
        case CONNECTION_CELLULAR_PDN_TYPE_IPV6:
                return "IPv6";
        case CONNECTION_CELLULAR_PDN_TYPE_IPV4_IPv6:
                return "Dual";
+       case CONNECTION_CELLULAR_PDN_TYPE_UNKNOWN:
+       default:
+               return "Unknown";
        }
 }