mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
Initialize variable to avoid warning.
This commit is contained in:
@ -1026,7 +1026,7 @@ Sized_relobj<size, big_endian>::write_local_symbols(Output_file* of,
|
|||||||
// Get views into the output file for the portions of the symbol table
|
// Get views into the output file for the portions of the symbol table
|
||||||
// and the dynamic symbol table that we will be writing.
|
// and the dynamic symbol table that we will be writing.
|
||||||
off_t output_size = this->output_local_symbol_count_ * sym_size;
|
off_t output_size = this->output_local_symbol_count_ * sym_size;
|
||||||
unsigned char* oview;
|
unsigned char* oview = NULL;
|
||||||
if (output_size > 0)
|
if (output_size > 0)
|
||||||
oview = of->get_output_view(this->local_symbol_offset_, output_size);
|
oview = of->get_output_view(this->local_symbol_offset_, output_size);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user