* gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'.

This commit is contained in:
Tom Tromey 2012-03-19 18:13:43 +00:00
parent 95b25ccde7
commit 5ff5c7b436
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-03-19 Tom Tromey <tromey@redhat.com>
* gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'.
2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
PR symtab/13777

View File

@ -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;