From 1911cb3151157b11223798be28c4a6fddbd1cf4e Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 20 Apr 2021 22:28:04 +0200 Subject: tools/indicator-loader.c: Silence unused parameter warnings/errors for various functions. --- tools/indicator-loader.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools') diff --git a/tools/indicator-loader.c b/tools/indicator-loader.c index 7c30a59..5b236db 100644 --- a/tools/indicator-loader.c +++ b/tools/indicator-loader.c @@ -160,9 +160,9 @@ entry_added (IndicatorObject * io, } static void -entry_removed (IndicatorObject * io, +entry_removed (__attribute__((unused)) IndicatorObject * io, IndicatorObjectEntry * entry, - gpointer user_data) + __attribute__((unused)) gpointer user_data) { GtkWidget * w; @@ -173,10 +173,10 @@ entry_removed (IndicatorObject * io, } static void -menu_show (IndicatorObject * io, +menu_show (__attribute__((unused)) IndicatorObject * io, IndicatorObjectEntry * entry, - guint timestamp, - gpointer user_data) + __attribute__((unused)) guint timestamp, + __attribute__((unused)) gpointer user_data) { const char * text; -- cgit v1.2.3 From 246f41fc57169d444d0f069901726564e1abe808 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 4 May 2021 15:45:59 +0200 Subject: */Makefile.am: Drop -Werror compiler flag for now. Not helpful when setting up CI builds for dirty code. --- tools/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/Makefile.am b/tools/Makefile.am index 6f85429..e871921 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -15,7 +15,7 @@ ayatana_indicator_loader_SOURCES = \ indicator-loader.c ayatana_indicator_loader_CFLAGS = \ - -Wall -Werror \ + -Wall \ $(LIBINDICATOR_CFLAGS) \ $(LIBINDICATOR_IDO_CFLAGS) -I$(top_srcdir) \ -DBUILD_DIR="\"$(builddir)\"" -- cgit v1.2.3