stack: Flag OCAdapterStateChangedHandler unused parameter 37/18337/4
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 29 Mar 2017 14:09:43 +0000 (16:09 +0200)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Mon, 3 Apr 2017 18:51:55 +0000 (18:51 +0000)
Change-Id: I5e5c3c288311fc97ee7ea4014228f9d80fef71d6
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18337
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/csdk/stack/src/occonnectionmanager.c

index d141605..c60740d 100755 (executable)
@@ -222,6 +222,7 @@ OCStackResult OCCMDiscoveryResource(OCClientResponse *clientResponse)
 
 static void OCAdapterStateChangedHandler(CATransportAdapter_t adapter, bool enabled)
 {
+    OC_UNUSED(adapter);
     // check user configuration
     CAConnectUserPref_t connPrefer = CA_USER_PREF_CLOUD;
     CAResult_t ret = CAUtilCMGetConnectionUserConfig(&connPrefer);