🐞 fix(warning as error): fix unused parameter warning
This commit is contained in:
@@ -298,7 +298,7 @@ int dumpfile_io_wait_exit(struct dumpfile_io *handle)
|
||||
return ATOMIC_READ(&handle->io_thread_wait_exit);
|
||||
}
|
||||
|
||||
int dumpfile_io_init(struct dumpfile_io *handle, uint16_t thr_idx)
|
||||
int dumpfile_io_init(struct dumpfile_io *handle __attribute__((unused)), uint16_t thr_idx __attribute__((unused)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -437,7 +437,7 @@ int dumpfile_io_inject(struct dumpfile_io *handle, uint16_t thr_idx, struct pack
|
||||
return nr_pkts;
|
||||
}
|
||||
|
||||
void dumpfile_io_yield(struct dumpfile_io *handle, uint16_t thr_idx, uint64_t timeout_ms)
|
||||
void dumpfile_io_yield(struct dumpfile_io *handle __attribute__((unused)), uint16_t thr_idx __attribute__((unused)), uint64_t timeout_ms __attribute__((unused)))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user