summaryrefslogtreecommitdiff
path: root/src/x86_64
diff options
context:
space:
mode:
authorAdeel <3840695+am11@users.noreply.github.com>2022-10-13 03:30:20 +0300
committerStephen M. Webb <stephen.webb@bregmasoft.ca>2022-10-14 19:30:38 -0400
commit47aef9392723e4816d94d4efda4248180aece7f5 (patch)
tree77a1b401deeef1993ac319ce54e7267605f02f7a /src/x86_64
parent501d8d5e6a06236b87d10a2b1b85008fde3fcbcc (diff)
downloadlibunwind-47aef9392723e4816d94d4efda4248180aece7f5.tar.gz
Fix a few warnings
Diffstat (limited to 'src/x86_64')
-rw-r--r--src/x86_64/Gtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x86_64/Gtrace.c b/src/x86_64/Gtrace.c
index 963a858f..7f896419 100644
--- a/src/x86_64/Gtrace.c
+++ b/src/x86_64/Gtrace.c
@@ -404,7 +404,7 @@ tdep_trace (unw_cursor_t *cursor, void **buffer, int *size)
int maxdepth = 0;
int depth = 0;
int ret;
- int validate = 0;
+ int validate UNUSED = 0;
/* Check input parametres. */
if (unlikely(! cursor || ! buffer || ! size || (maxdepth = *size) <= 0))