summaryrefslogtreecommitdiff
path: root/gdb/memory-map.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2007-10-25 21:43:42 +0000
committerPedro Alves <pedro@codesourcery.com>2007-10-25 21:43:42 +0000
commit21068c347a3d517f9780d727423464f233335c22 (patch)
tree9e6eb057f3648224497ae610a5d0b970ddad58a6 /gdb/memory-map.c
parent236d79058868cc002b47319dc8bb049cfd4a7bb6 (diff)
downloadgdb-21068c347a3d517f9780d727423464f233335c22.tar.gz
* memory-map.c (parse_memory_map): Don't use an empty struct
initializer.
Diffstat (limited to 'gdb/memory-map.c')
-rw-r--r--gdb/memory-map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/memory-map.c b/gdb/memory-map.c
index d8283aceb2c..a13fbeb4a87 100644
--- a/gdb/memory-map.c
+++ b/gdb/memory-map.c
@@ -180,7 +180,7 @@ parse_memory_map (const char *memory_map)
struct gdb_xml_parser *parser;
VEC(mem_region_s) *result = NULL;
struct cleanup *before_deleting_result, *back_to;
- struct memory_map_parsing_data data = {};
+ struct memory_map_parsing_data data = { NULL };
back_to = make_cleanup (null_cleanup, NULL);
parser = gdb_xml_create_parser_and_cleanup (_("target memory map"),