summaryrefslogtreecommitdiff
path: root/src/dwarf/Gexpr.c
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/dwarf/Gexpr.c
parent501d8d5e6a06236b87d10a2b1b85008fde3fcbcc (diff)
downloadlibunwind-47aef9392723e4816d94d4efda4248180aece7f5.tar.gz
Fix a few warnings
Diffstat (limited to 'src/dwarf/Gexpr.c')
-rw-r--r--src/dwarf/Gexpr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dwarf/Gexpr.c b/src/dwarf/Gexpr.c
index c510795b..22747c63 100644
--- a/src/dwarf/Gexpr.c
+++ b/src/dwarf/Gexpr.c
@@ -578,7 +578,8 @@ if (stackerror) \
case DW_OP_neg:
Debug (15, "OP_neg\n");
- push (~pop () + 1);
+ unw_word_t tmp UNUSED = pop ();
+ push (~tmp + 1);
break;
case DW_OP_not: