mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
addr2line.c: Silence GCC 11 false -Wmaybe-uninitialized warning
No warnings from GCC 12.
This commit is contained in:
parent
e22a1fbe18
commit
b572595918
1 changed files with 1 additions and 1 deletions
|
@ -1768,7 +1768,7 @@ di_read_cu(DebugInfoReader *reader)
|
|||
break;
|
||||
case VAL_addr:
|
||||
{
|
||||
addr_header_t header;
|
||||
addr_header_t header = {};
|
||||
addr_header_init(reader->obj, &header);
|
||||
reader->current_low_pc = read_addr(&header, reader->current_addr_base, low_pc.as.addr_idx);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue