aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2010-06-11 19:41:28 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2010-06-11 19:41:28 +0000
commitd4d1606b284058e02290abda66eded7c6a33d152 (patch)
treee795805d8eb9fc776350931a81d38a48c5f654b5 /gcc/ada/gcc-interface/utils.c
parent1826e883bcb6cb5322834207ce33b334dadd61a9 (diff)
downloadgcc-d4d1606b284058e02290abda66eded7c6a33d152.zip
gcc-d4d1606b284058e02290abda66eded7c6a33d152.tar.gz
gcc-d4d1606b284058e02290abda66eded7c6a33d152.tar.bz2
* gcc-interface/utils.c (update_pointer_to): Initialize last.
From-SVN: r160630
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
-rw-r--r--gcc/ada/gcc-interface/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c
index ebb7025..0416db3 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));