remove unused variable 84/84384/1 accepted/tizen/common/20160818.144653 accepted/tizen/ivi/20160819.063440 accepted/tizen/mobile/20160819.063433 accepted/tizen/tv/20160819.063424 accepted/tizen/wearable/20160819.063411 submit/tizen/20160818.093637
authoryoungman <yman.jung@samsung.com>
Thu, 18 Aug 2016 09:27:25 +0000 (18:27 +0900)
committeryoungman <yman.jung@samsung.com>
Thu, 18 Aug 2016 09:27:25 +0000 (18:27 +0900)
Change-Id: If9384547f8cdb699ea6a79e9b00161819e44533c
Signed-off-by: youngman <yman.jung@samsung.com>
src/ic-ioty-ocprocess.c

index f1b15cc..da8cc8d 100644 (file)
@@ -452,7 +452,6 @@ OCStackApplicationResult icl_ioty_ocprocess_observe_cb(void *ctx,
        iotcon_representation_h repr;
        icl_observe_cb_s *observe_cb_data;
        icl_observe_container_s *cb_container = ctx;
-       OCStackApplicationResult cb_result;
 
        RETV_IF(NULL == ctx, OC_STACK_KEEP_TRANSACTION);
        RETV_IF(NULL == resp, OC_STACK_KEEP_TRANSACTION);
@@ -514,7 +513,7 @@ OCStackApplicationResult icl_ioty_ocprocess_observe_cb(void *ctx,
        /* DO NOT FREE ctx(cb_container). It MUST be freed in the ocstack */
        /* DO NOT FREE cb_data. It MUST be freed in the idle */
 
-       return cb_result;
+       return OC_STACK_KEEP_TRANSACTION;
 }
 
 static gboolean _icl_ioty_ocprocess_crud_idle_cb(gpointer p)