diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-04-11 08:38:38 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-04-11 08:38:46 +0200 |
| commit | 5538ffde53c5300918b6847e4c3243e3a3212cbd (patch) | |
| tree | bd257670750d6f84adc6437fa1a678425efc469a /src/elfs | |
| parent | 74cd8cd6fefbba30cdfc0541e9f6d816f3a79478 (diff) | |
| download | box64-5538ffde53c5300918b6847e4c3243e3a3212cbd.tar.gz box64-5538ffde53c5300918b6847e4c3243e3a3212cbd.zip | |
Various small fixes and warning removal
Diffstat (limited to 'src/elfs')
| -rw-r--r-- | src/elfs/elfdwarf_private.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elfs/elfdwarf_private.c b/src/elfs/elfdwarf_private.c index 7c5b3c92..bae2b4ea 100644 --- a/src/elfs/elfdwarf_private.c +++ b/src/elfs/elfdwarf_private.c @@ -384,7 +384,7 @@ uintptr_t get_parent_registers(dwarf_unwind_t *unwind, const elfheader_t *ehdr, #undef PARSE_INST uint64_t cfa_reg = -1; - unsigned char cfa_signed; + unsigned char cfa_signed = 0; union { uint64_t uoff; int64_t soff; } cfa_offset = { .uoff = 0 }; ++unwind_constr.reg_count; size_t tablelen = unwind_constr.reg_count * sizeof(uint64_t); |