diff options
author | Ian Lance Taylor <ian@zembu.com> | 1999-07-26 17:57:25 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-07-26 11:57:25 -0600 |
commit | 652374d3387f07d154342f4c3f49265b48df5520 (patch) | |
tree | f0b659fa6e6c7675aa8bb9ba17ac5dee8c377b96 /libiberty | |
parent | 4bdc1ac79d1d92bfbf117c02fa14afaf74c1f79e (diff) | |
download | gcc-652374d3387f07d154342f4c3f49265b48df5520.tar.gz |
splay-tree.c (splay_tree_insert): Add initialization to avoid warning.
* splay-tree.c (splay_tree_insert): Add initialization to avoid
warning.
From-SVN: r28269
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/splay-tree.c | 4 |
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); |