mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fixed uninitialized variable warnings.
This commit is contained in:
parent
2a4fc68346
commit
8f32e46db7
1 changed files with 2 additions and 2 deletions
|
|
@ -4814,6 +4814,7 @@ dump_dwarf_line(struct readelf *re)
|
|||
}
|
||||
|
||||
endoff = offset + length;
|
||||
pe = (uint8_t *) d->d_buf + endoff;
|
||||
version = re->dw_read(d, &offset, 2);
|
||||
hdrlen = re->dw_read(d, &offset, dwarf_size);
|
||||
minlen = re->dw_read(d, &offset, 1);
|
||||
|
|
@ -4879,7 +4880,6 @@ dump_dwarf_line(struct readelf *re)
|
|||
#define ADDRESS(x) ((((x) - opbase) / lrange) * minlen)
|
||||
|
||||
p++;
|
||||
pe = (uint8_t *) d->d_buf + endoff;
|
||||
printf("\n");
|
||||
printf(" Line Number Statements:\n");
|
||||
|
||||
|
|
@ -7476,7 +7476,7 @@ static int64_t
|
|||
_decode_sleb128(uint8_t **dp, uint8_t *dpe)
|
||||
{
|
||||
int64_t ret = 0;
|
||||
uint8_t b;
|
||||
uint8_t b = 0;
|
||||
int shift = 0;
|
||||
|
||||
uint8_t *src = *dp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue