From 259604f63dba5f958b879813d1eaed9a59991d1e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 5 Mar 2025 20:59:57 +0100 Subject: Fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gamma-dummy.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gamma-dummy.c') diff --git a/src/gamma-dummy.c b/src/gamma-dummy.c index d87c2dd..d01044d 100644 --- a/src/gamma-dummy.c +++ b/src/gamma-dummy.c @@ -29,6 +29,8 @@ gamma_dummy_init(struct gamma_state **state) static int gamma_dummy_start(struct gamma_state *state, enum program_mode mode) { + (void) state; + (void) mode; fputs(_("WARNING: Using dummy gamma method! Display will not be affected by this gamma method.\n"), stderr); return 0; } @@ -36,11 +38,13 @@ gamma_dummy_start(struct gamma_state *state, enum program_mode mode) static void gamma_dummy_restore(struct gamma_state *state) { + (void) state; } static void gamma_dummy_free(struct gamma_state *state) { + (void) state; } static void @@ -53,6 +57,8 @@ gamma_dummy_print_help(FILE *f) static int gamma_dummy_set_option(struct gamma_state *state, const char *key, const char *value) { + (void) state; + (void) value; fprintf(stderr, _("Unknown method parameter: `%s'.\n"), key); return -1; } @@ -61,6 +67,8 @@ static int gamma_dummy_set_temperature( struct gamma_state *state, const struct color_setting *setting, int preserve) { + (void) state; + (void) preserve; printf(_("Temperature: %i\n"), setting->temperature); return 0; } -- cgit v1.2.3-70-g09d2