From: aoliva Date: Fri, 11 Jun 2010 19:41:28 +0000 (+0000) Subject: * gcc-interface/utils.c (update_pointer_to): Initialize last. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ece155280eab9a11dd1eeb369a028f88befc3da6;p=thirdparty%2Fgcc.git * gcc-interface/utils.c (update_pointer_to): Initialize last. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160630 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 553702cba38e..828f031bb14b 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2010-06-11 Alexandre Oliva + + * gcc-interface/utils.c (update_pointer_to): Initialize last. + 2010-06-09 Eric Botcazou * gcc-interface/ada-tree.h: Fix formatting nits. diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c index ebb70259c453..0416db3b875f 100644 --- a/gcc/ada/gcc-interface/utils.c +++ b/gcc/ada/gcc-interface/utils.c @@ -3461,7 +3461,7 @@ update_pointer_to (tree old_type, tree new_type) { tree new_ptr = TYPE_MAIN_VARIANT (TYPE_POINTER_TO (new_type)); tree new_obj_rec = TYPE_OBJECT_RECORD_TYPE (new_type); - tree array_field, bounds_field, new_ref, last; + tree array_field, bounds_field, new_ref, last = NULL_TREE; gcc_assert (TYPE_IS_FAT_POINTER_P (ptr));