diff options
author | Sriraman Tallam <tmsriram@google.com> | 2012-05-25 22:53:52 +0000 |
---|---|---|
committer | Sriraman Tallam <tmsriram@google.com> | 2012-05-25 22:53:52 +0000 |
commit | 8cc69fb6b57def8f0e9e931e7ac64ae7b689af60 (patch) | |
tree | 34bde440aeb89fe47f0bcaec14e1ff2a2414d226 /gold/symtab.cc | |
parent | 4196f325308032e069e6ab937b086f9602d21b14 (diff) | |
download | gdb-8cc69fb6b57def8f0e9e931e7ac64ae7b689af60.zip gdb-8cc69fb6b57def8f0e9e931e7ac64ae7b689af60.tar.gz gdb-8cc69fb6b57def8f0e9e931e7ac64ae7b689af60.tar.bz2 |
2012-05-25 Sriraman Tallam <tmsriram@google.com>
* symtab.cc (Symbol_table::define_special_symbol):
Initialize *poldsym to prevent uninitialized variable errors.
Diffstat (limited to 'gold/symtab.cc')
-rw-r--r-- | gold/symtab.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/symtab.cc b/gold/symtab.cc index ebce5ca..fd81e8bd 100644 --- a/gold/symtab.cc +++ b/gold/symtab.cc @@ -1682,6 +1682,7 @@ Symbol_table::define_special_symbol(const char** pname, const char** pversion, bool* resolve_oldsym) { *resolve_oldsym = false; + *poldsym = NULL; // If the caller didn't give us a version, see if we get one from // the version script. |