summaryrefslogtreecommitdiffstats
path: root/test/004-SignalTest/signaltest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/004-SignalTest/signaltest.cc')
-rw-r--r--test/004-SignalTest/signaltest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/004-SignalTest/signaltest.cc b/test/004-SignalTest/signaltest.cc
index 31371f6..876d27e 100644
--- a/test/004-SignalTest/signaltest.cc
+++ b/test/004-SignalTest/signaltest.cc
@@ -65,6 +65,8 @@ static void signalhandler(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UN
#elif defined(__i386__) || defined(__x86_64__)
struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
uc->CTX_EIP += 3;
+#else
+ UNUSED(context);
#endif
}