From: Ian Lance Taylor Date: Sun, 11 Jul 1999 19:13:51 +0000 (+0000) Subject: * splay-tree.c (splay_tree_insert): Add initialization to avoid X-Git-Tag: gdb-1999-07-12~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af32ff6969e70038c3f22645b7774106d8d350d1;p=external%2Fbinutils.git * splay-tree.c (splay_tree_insert): Add initialization to avoid warning. --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 16d3229..eb9aec2 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +1999-07-11 Ian Lance Taylor + + * splay-tree.c (splay_tree_insert): Add initialization to avoid + warning. + 1999-05-11 Jim Blandy * cplus-dem.c (main): Use table lookup to distinguish identifier diff --git a/libiberty/splay-tree.c b/libiberty/splay-tree.c index b6bb5a6..1cb6bd9 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);