projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bf1f80
)
Initialize variable to avoid warning.
author
Ian Lance Taylor
<iant@google.com>
Thu, 6 Dec 2007 06:03:00 +0000
(06:03 +0000)
committer
Ian Lance Taylor
<iant@google.com>
Thu, 6 Dec 2007 06:03:00 +0000
(06:03 +0000)
gold/object.cc
patch
|
blob
|
history
diff --git
a/gold/object.cc
b/gold/object.cc
index ab1323a27256f17ad8e05e56bc9143a644d935c4..3bf274adf6b9be96d29784e35c51250910d45891 100644
(file)
--- a/
gold/object.cc
+++ b/
gold/object.cc
@@
-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
// and the dynamic symbol table that we will be writing.
off_t output_size = this->output_local_symbol_count_ * sym_size;
- unsigned char* oview;
+ unsigned char* oview
= NULL
;
if (output_size > 0)
oview = of->get_output_view(this->local_symbol_offset_, output_size);