diff options
Diffstat (limited to 'test/libunwind_02.pass.cpp')
-rw-r--r-- | test/libunwind_02.pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libunwind_02.pass.cpp b/test/libunwind_02.pass.cpp index 892c087..a0efd1d 100644 --- a/test/libunwind_02.pass.cpp +++ b/test/libunwind_02.pass.cpp @@ -6,6 +6,7 @@ #define NUM_FRAMES_UPPER_BOUND 100 _Unwind_Reason_Code callback(_Unwind_Context *context, void *cnt) { + (void)context; int *i = (int *)cnt; ++*i; if (*i > NUM_FRAMES_UPPER_BOUND) { |