diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-07-11 19:13:51 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-07-11 19:13:51 +0000 |
commit | a361c150786aa2ef11195d06b14bca14927e1845 (patch) | |
tree | 13f9104de222835ce22fc5aea9dc8a56970b6b67 /libiberty | |
parent | eddfd2f005ed13576a91543e2f9ba6ca58c6fa11 (diff) | |
download | gdb-a361c150786aa2ef11195d06b14bca14927e1845.tar.gz |
* splay-tree.c (splay_tree_insert): Add initialization to avoid
warning.
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 16d32297220..eb9aec23f92 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +1999-07-11 Ian Lance Taylor <ian@zembu.com> + + * splay-tree.c (splay_tree_insert): Add initialization to avoid + warning. + 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com> * cplus-dem.c (main): Use table lookup to distinguish identifier 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); |