Remove build warnings
[platform/core/api/zigbee.git] / lib / zbl-zcl.c
index eaf219c..4501b78 100644 (file)
@@ -952,6 +952,8 @@ API int zb_get_change_from_report_config_record1(report_config_record_h handle,
        int len = -1;
        int data_type = DATA_TYPE_NONE;
 
+       NOT_USED(data_type);
+
        RETV_IF(NULL == handle, ZIGBEE_ERROR_INVALID_PARAMETER);
        RETV_IF(NULL == value, ZIGBEE_ERROR_INVALID_PARAMETER);
        RETV_IF(NULL == handle->change, ZIGBEE_ERROR_NO_DATA);
@@ -974,6 +976,8 @@ API int zb_set_change_to_report_config_record1(report_config_record_h handle,
        int len = -1;
        int data_type = DATA_TYPE_NONE;
 
+       NOT_USED(data_type);
+
        RETV_IF(NULL == handle, ZIGBEE_ERROR_INVALID_PARAMETER);
        RETV_IF(NULL == value, ZIGBEE_ERROR_INVALID_PARAMETER);
 
@@ -1000,6 +1004,8 @@ API int zb_get_change_from_report_config_record2(report_config_record_h handle,
        int data_type = DATA_TYPE_NONE;
        unsigned char *t = NULL;
 
+       NOT_USED(data_type);
+
        RETV_IF(NULL == handle, ZIGBEE_ERROR_INVALID_PARAMETER);
        RETV_IF(NULL == value, ZIGBEE_ERROR_INVALID_PARAMETER);
        RETV_IF(NULL == handle->change, ZIGBEE_ERROR_NO_DATA);
@@ -1024,6 +1030,8 @@ API int zb_set_change_to_report_config_record2(
        int len = -1;
        int data_type = DATA_TYPE_NONE;
 
+       NOT_USED(data_type);
+
        RETV_IF(NULL == handle, ZIGBEE_ERROR_INVALID_PARAMETER);
        if (handle->change)
                free(handle->change);
@@ -1047,7 +1055,8 @@ API int zb_get_change_from_report_config_record3(report_config_record_h handle,
 {
        int len = -1;
        int data_type = DATA_TYPE_NONE;
-       unsigned char *t = NULL;
+
+       NOT_USED(data_type);
 
        RETV_IF(NULL == handle, ZIGBEE_ERROR_INVALID_PARAMETER);
        RETV_IF(NULL == value, ZIGBEE_ERROR_INVALID_PARAMETER);