🐞 fix(warning as error): fix unused parameter warning

This commit is contained in:
yangwei
2024-08-07 13:34:56 +08:00
committed by luwenpeng
parent f1b3928c70
commit 6bb5c44ee3
12 changed files with 36 additions and 14 deletions

View File

@@ -246,7 +246,7 @@ void marsio_io_free(struct marsio_io *handle)
}
}
int marsio_io_init(struct marsio_io *handle, uint16_t thr_idx)
int marsio_io_init(struct marsio_io *handle, uint16_t thr_idx __attribute__((unused)))
{
if (marsio_thread_init(handle->mr_ins) != 0)
{