From: Tom Tromey Date: Mon, 19 Mar 2012 18:13:43 +0000 (+0000) Subject: * gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ff5c7b436a6887a4a910659ce276ea75496a92b;p=binutils-gdb.git * gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7325047b2b2..0dc49a31f49 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-03-19 Tom Tromey + + * gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'. + 2012-03-16 Jan Kratochvil PR symtab/13777 diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c index 72ca2a16d0c..1095c60b9e1 100644 --- a/gdb/gnu-v3-abi.c +++ b/gdb/gnu-v3-abi.c @@ -907,7 +907,7 @@ gnuv3_print_vtable (struct value *value) struct value_print_options opts; htab_t offset_hash; struct cleanup *cleanup; - VEC (value_and_voffset_p) *result_vec; + VEC (value_and_voffset_p) *result_vec = NULL; struct value_and_voffset *iter; int i, count;