summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-04-30 17:27:15 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2015-04-30 17:27:15 +0100
commitc72138ebe3a5a09eab1bc246232e03838686e941 (patch)
tree2263cfec01b3a3a440fc29409b28a7c195ab841a
parent4239c574e960de244cb46685ec24067cd1206dbe (diff)
downloadlibwapcaplet-c72138ebe3a5a09eab1bc246232e03838686e941.tar.gz
libwapcaplet-c72138ebe3a5a09eab1bc246232e03838686e941.tar.bz2
Fix build with gcc 4.9.
-rw-r--r--test/basictests.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/basictests.c b/test/basictests.c
index 6b5218d..ec9bf20 100644
--- a/test/basictests.c
+++ b/test/basictests.c
@@ -24,13 +24,13 @@ lwc_string **null_lwc_p = NULL;
/* All the basic assert() tests */
START_TEST (test_lwc_intern_string_aborts1)
{
- lwc_intern_string(NULL, 0, null_lwc_p);
+ (void) lwc_intern_string(NULL, 0, null_lwc_p);
}
END_TEST
START_TEST (test_lwc_intern_string_aborts2)
{
- lwc_intern_string("A", 1, null_lwc_p);
+ (void) lwc_intern_string("A", 1, null_lwc_p);
}
END_TEST
@@ -64,19 +64,19 @@ END_TEST
START_TEST (test_lwc_string_data_aborts)
{
- lwc_string_data(null_lwc);
+ (void) lwc_string_data(null_lwc);
}
END_TEST
START_TEST (test_lwc_string_length_aborts)
{
- lwc_string_length(null_lwc);
+ (void) lwc_string_length(null_lwc);
}
END_TEST
START_TEST (test_lwc_string_hash_value_aborts)
{
- lwc_string_hash_value(null_lwc);
+ (void) lwc_string_hash_value(null_lwc);
}
END_TEST