summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-26 17:57:25 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-26 17:57:25 +0000
commit4ef402f75d590fcab4e62c77cba27e08121ae466 (patch)
treef0b659fa6e6c7675aa8bb9ba17ac5dee8c377b96 /libiberty
parentf13e5c9e11ac0059a66ee6ffb3bf3bb847842ea8 (diff)
downloadgcc-4ef402f75d590fcab4e62c77cba27e08121ae466.tar.gz
* 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
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/splay-tree.c4
2 files changed, 7 insertions, 2 deletions
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 <ian@zembu.com>
+
+ * splay-tree.c (splay_tree_insert): Add initialization to avoid
+ warning.
+
1999-07-07 Jason Merrill <jason@yorick.cygnus.com>
* 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);