Fix unused argument warning in test
Change-Id: I9f55efee82f8d855d89977b3e4db32855e110c87 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
ac0a266e75
commit
828e14b5f9
@ -80,7 +80,7 @@ void tst_Blacklisted::xpass()
|
|||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
|
||||||
static jmp_buf state;
|
static jmp_buf state;
|
||||||
static void abort_handler(int signal)
|
static void abort_handler(int)
|
||||||
{
|
{
|
||||||
longjmp(state, 1);
|
longjmp(state, 1);
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@ void tst_Silent::xpass()
|
|||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
|
||||||
static jmp_buf state;
|
static jmp_buf state;
|
||||||
static void abort_handler(int signal)
|
static void abort_handler(int)
|
||||||
{
|
{
|
||||||
longjmp(state, 1);
|
longjmp(state, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user