Removed redundant NULL check for pin in wifi_direct_get_wps_pin() 84/93984/1 accepted/tizen/common/20161102.121916 accepted/tizen/ivi/20161102.073217 accepted/tizen/mobile/20161102.073127 accepted/tizen/tv/20161102.073141 accepted/tizen/wearable/20161102.073155 submit/tizen/20161102.022647
authorNishant Chaprana <n.chaprana@samsung.com>
Wed, 26 Oct 2016 11:43:27 +0000 (17:13 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Wed, 26 Oct 2016 11:43:27 +0000 (17:13 +0530)
Change-Id: Id3797e2f0844eff5a5d22e50ea617fe2707f5fd0
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
packaging/capi-network-wifi-direct.spec
src/wifi-direct-client-proxy.c

index 63d9258..fe54e06 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-network-wifi-direct
 Summary:    Network WiFi-Direct Library
-Version:    1.2.74
+Version:    1.2.75
 Release:    1
 Group:      Network & Connectivity/API
 License:    Apache-2.0
index 71ec6c5..5c2b251 100644 (file)
@@ -2331,7 +2331,7 @@ int wifi_direct_get_wps_pin(char **pin)
                return ret;
 
        g_variant_get(reply, "(i&s)", &ret, &str);
-       if (pin != NULL && str != NULL)
+       if (str != NULL)
                *pin = g_strdup(str);
        g_variant_unref(reply);