Fix the return value
authorChengyi Zhao <chengyi1.zhao@archermind.com>
Tue, 17 Jun 2014 06:56:23 +0000 (14:56 +0800)
committerZhang zhengguang <zhengguang.zhang@intel.com>
Thu, 26 Jun 2014 06:01:40 +0000 (14:01 +0800)
src/libnetwork.c

index de2f691505949909ff5c5bbcba3acc60c9bfe472..26e206b7e32be4fc92ede625a6ba4a82d714d609 100755 (executable)
@@ -124,6 +124,8 @@ const char *_get_ip_config_str(net_ip_config_type_t ip_config_type)
        case NET_IP_CONFIG_TYPE_OFF:
                return "off";
        }
+
+       return NULL;
 }
 
 /*static wifi_error_e __libnet_convert_to_ap_error_type(net_err_t err_type)