[tsdb] Fix armcc build warning.

This commit is contained in:
armink 2020-05-31 23:41:49 +08:00
parent d98a1b1681
commit ce218827bf
1 changed files with 1 additions and 1 deletions

View File

@ -529,7 +529,7 @@ static bool query_count_cb(fdb_tsl_t tsl, void *arg)
*/
size_t fdb_tsl_query_count(fdb_tsdb_t db, fdb_time_t from, fdb_time_t to, fdb_tsl_status_t status)
{
struct query_count_args arg = { 0 };
struct query_count_args arg = { FDB_TSL_UNUSED, 0 };
arg.status = status;