summaryrefslogtreecommitdiffstats
path: root/test/helper-pidfile.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-05-03 17:57:08 +0200
committerDave Davenport <qball@gmpclient.org>2017-05-03 17:57:08 +0200
commitdbf551ec15328307ad5b956e3070f0e707a1b8f4 (patch)
tree844be75b53c93ee778a82a69bc1f24d3f02efe30 /test/helper-pidfile.c
parent1f76e2c3f3a49432253b695bb92760f4bef44359 (diff)
Cleanup some compile warning on the tests
Diffstat (limited to 'test/helper-pidfile.c')
-rw-r--r--test/helper-pidfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/helper-pidfile.c b/test/helper-pidfile.c
index 889d1766..0815c9cf 100644
--- a/test/helper-pidfile.c
+++ b/test/helper-pidfile.c
@@ -42,7 +42,7 @@ static int test = 0;
assert ( a ); \
printf ( "Test %i passed (%s)\n", ++test, # a ); \
}
-void rofi_add_error_message ( GString *msg )
+void rofi_add_error_message ( G_GNUC_UNUSED GString *msg )
{
}
int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
@@ -51,7 +51,7 @@ int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
return TRUE;
}
-int show_error_message ( const char *msg, int markup )
+int show_error_message ( const char *msg, G_GNUC_UNUSED int markup )
{
fputs ( msg, stderr );
return 0;
@@ -61,7 +61,7 @@ xcb_ewmh_connection_t xcb_ewmh;
int xcb_screen_nbr;
#include <x11-helper.h>
-int main ( int argc, char ** argv )
+int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char ** argv )
{
if ( setlocale ( LC_ALL, "" ) == NULL ) {
fprintf ( stderr, "Failed to set locale.\n" );