From: Cary Coutant Date: Thu, 16 Sep 2010 15:52:15 +0000 (+0000) Subject: * script_sections.cc (class Memory_region): Remove "NULL" from X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ef28648fb46ee431ce3d8d5cdceb8c171b81cb9;p=binutils-gdb.git * script_sections.cc (class Memory_region): Remove "NULL" from vector initializations. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index be2bb578d3f..5df7be54982 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2010-09-16 Cary Coutant + + * script_sections.cc (class Memory_region): Remove "NULL" from + vector initializations. + 2010-09-15 Cary Coutant * incremental.cc (Output_section_incremental_inputs::write_info_blocks): diff --git a/gold/script-sections.cc b/gold/script-sections.cc index 1a19ad86304..eebbb5eb7ee 100644 --- a/gold/script-sections.cc +++ b/gold/script-sections.cc @@ -55,8 +55,8 @@ class Memory_region length_(length), current_vma_offset_(0), current_lma_offset_(0), - vma_sections_(NULL), - lma_sections_(NULL) + vma_sections_(), + lma_sections_() { } // Return the name of this region.