mirror of
https://github.com/troglobit/finit.git
synced 2026-10-08 08:24:43 +07:00
Declare unused parameters
When building with global CFLAGS=-Wunused-parameter the output from the build looks terrible. This commit explicitly declares unused variables to prevent triggering -Wunused-parameter Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -320,6 +320,8 @@ static int init_plugins(uev_ctx_t *ctx)
|
||||
plugin_t *p, *tmp;
|
||||
int fail = 0;
|
||||
|
||||
(void)ctx;
|
||||
|
||||
PLUGIN_ITERATOR(p, tmp) {
|
||||
if (plugin_io_init(p))
|
||||
fail++;
|
||||
|
||||
Reference in New Issue
Block a user