From 4ef402f75d590fcab4e62c77cba27e08121ae466 Mon Sep 17 00:00:00 2001 From: law Date: Mon, 26 Jul 1999 17:57:25 +0000 Subject: * splay-tree.c (splay_tree_insert): Add initialization to avoid warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28269 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/ChangeLog | 5 +++++ libiberty/splay-tree.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'libiberty') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 41c21f26d49..ac75bc7431a 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -8,6 +8,11 @@ * Makefile.in (NEEDED): Add bcmp, bcopy, bzero. +1999-07-11 Ian Lance Taylor + + * splay-tree.c (splay_tree_insert): Add initialization to avoid + warning. + 1999-07-07 Jason Merrill * Makefile.in (needed-list): Only include stuff we actually need diff --git a/libiberty/splay-tree.c b/libiberty/splay-tree.c index b6bb5a6a8f0..1cb6bd91f22 100644 --- a/libiberty/splay-tree.c +++ b/libiberty/splay-tree.c @@ -1,5 +1,5 @@ /* A splay-tree datatype. - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 1999 Free Software Foundation, Inc. Contributed by Mark Mitchell (mark@markmitchell.com). This file is part of GNU CC. @@ -264,7 +264,7 @@ splay_tree_insert (sp, key, value) splay_tree_key key; splay_tree_value value; { - int comparison; + int comparison = 0; splay_tree_splay (sp, key); -- cgit v1.2.1