Clear entire "location" in value constructor
[deliverable/binutils-gdb.git] / gdb / value.c
index aa6ca43b414646ec0ac7e956160641cf5240c2d7..6bb6b8eb61ebfe5509d9a423643d124772a1fb14 100644 (file)
@@ -180,7 +180,6 @@ struct value
       type (type_),
       enclosing_type (type_)
   {
-    location.address = 0;
   }
 
   ~value ()
@@ -262,7 +261,7 @@ struct value
       /* Closure for those functions to use.  */
       void *closure;
     } computed;
-  } location;
+  } location {};
 
   /* Describes offset of a value within lval of a structure in target
      addressable memory units.  Note also the member embedded_offset
This page took 0.035105 seconds and 4 git commands to generate.