aboutsummaryrefslogtreecommitdiff
path: root/gold/archive.h
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2011-04-20 18:20:51 +0000
committerCary Coutant <ccoutant@google.com>2011-04-20 18:20:51 +0000
commite7782cf63b834cc4c4d159dcb6e3a9908b12432f (patch)
tree2b43bb1999f223656afdd238b7a634b9e256351c /gold/archive.h
parent904760745d22b6127ff3d1eb081f8920282e4073 (diff)
downloadfsf-binutils-gdb-e7782cf63b834cc4c4d159dcb6e3a9908b12432f.zip
fsf-binutils-gdb-e7782cf63b834cc4c4d159dcb6e3a9908b12432f.tar.gz
fsf-binutils-gdb-e7782cf63b834cc4c4d159dcb6e3a9908b12432f.tar.bz2
PR gold/12689
* archive.h (Incremental_archive_entry::Archive_member): Initialize arg_serial_ (second constructor).
Diffstat (limited to 'gold/archive.h')
-rw-r--r--gold/archive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/archive.h b/gold/archive.h
index 7e31827..78c2cc8 100644
--- a/gold/archive.h
+++ b/gold/archive.h
@@ -51,7 +51,7 @@ struct Archive_member
: obj_(NULL), sd_(NULL), arg_serial_(0)
{ }
Archive_member(Object* obj, Read_symbols_data* sd)
- : obj_(obj), sd_(sd)
+ : obj_(obj), sd_(sd), arg_serial_(0)
{ }
// The object file.
Object* obj_;