* script_sections.cc (class Memory_region): Remove "NULL" from
authorCary Coutant <ccoutant@google.com>
Thu, 16 Sep 2010 15:52:15 +0000 (15:52 +0000)
committerCary Coutant <ccoutant@google.com>
Thu, 16 Sep 2010 15:52:15 +0000 (15:52 +0000)
vector initializations.

gold/ChangeLog
gold/script-sections.cc

index be2bb578d3ffb9c1b5efa973e1c24bacdfa57e18..5df7be549829c4d0cd72fe5a3a5dee5fca392c3d 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-16  Cary Coutant  <ccoutant@google.com>
+
+       * script_sections.cc (class Memory_region): Remove "NULL" from
+       vector initializations.
+
 2010-09-15  Cary Coutant  <ccoutant@google.com>
 
        * incremental.cc (Output_section_incremental_inputs::write_info_blocks):
index 1a19ad86304b105572c448830a8c54c99f04a974..eebbb5eb7ee022f05b665ed436ab048002f7d90f 100644 (file)
@@ -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.