Fixed build error
[platform/core/api/zigbee.git] / src / zbl-dbus.c
similarity index 99%
rename from lib/zbl-dbus.c
rename to src/zbl-dbus.c
index f040020..0951abe 100644 (file)
@@ -2812,10 +2812,6 @@ GLOBAL_CONFIGURE_REPORTING_REQ_OUT:
                                goto GLOBAL_READ_CONFIGURE_REPORTING_REQ_OUT;
                        }
                }
-               if (!records) {
-                       ERR("calloc() Fail(%d)", errno);
-                       goto GLOBAL_READ_CONFIGURE_REPORTING_REQ_OUT;
-               }
 
                DBG("record_length %d", record_length);
                status = calloc(record_length, sizeof(unsigned char));