summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/silent
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-01-31 18:25:50 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-02-01 00:49:11 +0100
commit828e14b5f98a77f219bdcf119e463443121cf939 (patch)
treed5c7cb2af9b5f3199441e362d12f12bae739fc47 /tests/auto/testlib/selftests/silent
parentac0a266e75cd117ecf34d25cc5c947ec5e9d2c01 (diff)
Fix unused argument warning in test
Change-Id: I9f55efee82f8d855d89977b3e4db32855e110c87 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/silent')
-rw-r--r--tests/auto/testlib/selftests/silent/tst_silent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/silent/tst_silent.cpp b/tests/auto/testlib/selftests/silent/tst_silent.cpp
index cf3c35dec4..999d9acf07 100644
--- a/tests/auto/testlib/selftests/silent/tst_silent.cpp
+++ b/tests/auto/testlib/selftests/silent/tst_silent.cpp
@@ -77,7 +77,7 @@ void tst_Silent::xpass()
#include <setjmp.h>
static jmp_buf state;
-static void abort_handler(int signal)
+static void abort_handler(int)
{
longjmp(state, 1);
}