ble_mesh: stack: Fix compile warning when log is disabled

This commit is contained in:
lly 2021-01-12 17:26:48 +08:00 committed by bot
parent bcd9710b86
commit 0edb86ddb0

View File

@ -1186,6 +1186,8 @@ static int gatts_register(struct bt_mesh_gatt_service *svc)
handle = last->attrs[last->attr_count - 1].handle;
BT_DBG("gatts register, handle %d", handle);
ARG_UNUSED(handle);
populate:
sys_slist_append(&bt_mesh_gatts_db, &svc->node);
return 0;