summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-09-17 18:17:26 +0200
committerDave Davenport <qball@gmpclient.org>2017-09-17 18:17:26 +0200
commitff4946edaffbfc65d31a15db6536f5260629a9e5 (patch)
treed991c85559438d74e7c010c4827ff17d05711e49 /test
parentd1f99273438fdefd9a39f09c954954e2812572de (diff)
Cleanup compiler warnings.
- Unused var. - Missing switch statement. - Change fallthrough for older compilers.
Diffstat (limited to 'test')
-rw-r--r--test/box-test.c2
-rw-r--r--test/scrollbar-test.c2
-rw-r--r--test/textbox-test.c2
-rw-r--r--test/widget-test.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/box-test.c b/test/box-test.c
index 57d8f903..485f5c18 100644
--- a/test/box-test.c
+++ b/test/box-test.c
@@ -63,7 +63,7 @@ unsigned int test =0;
} \
}
-gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, char **error )
+gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, G_GNUC_UNUSED char **error )
{
return FALSE;
}
diff --git a/test/scrollbar-test.c b/test/scrollbar-test.c
index d9896d01..8f7df86c 100644
--- a/test/scrollbar-test.c
+++ b/test/scrollbar-test.c
@@ -59,7 +59,7 @@ char * helper_get_theme_path ( const char *file )
{
return g_strdup ( file );
}
-gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, char **error )
+gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, G_GNUC_UNUSED char **error )
{
return FALSE;
}
diff --git a/test/textbox-test.c b/test/textbox-test.c
index ad5049e8..cd5ff528 100644
--- a/test/textbox-test.c
+++ b/test/textbox-test.c
@@ -52,7 +52,7 @@ unsigned int normal_window_mode = 0;
#include "view.h"
-gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, char **error )
+gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, G_GNUC_UNUSED char **error )
{
return FALSE;
}
diff --git a/test/widget-test.c b/test/widget-test.c
index 3313ac7e..0d2ac5e0 100644
--- a/test/widget-test.c
+++ b/test/widget-test.c
@@ -43,7 +43,7 @@ unsigned int test =0;
assert ( a ); \
printf ( "Test %3i passed (%s)\n", ++test, # a ); \
}
-gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, char **error )
+gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, G_GNUC_UNUSED char **error )
{
return FALSE;
}