]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
splay-tree.c (splay_tree_insert): Add initialization to avoid warning.
authorIan Lance Taylor <ian@zembu.com>
Mon, 26 Jul 1999 17:57:25 +0000 (17:57 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 26 Jul 1999 17:57:25 +0000 (11:57 -0600)
        * splay-tree.c (splay_tree_insert): Add initialization to avoid
        warning.

From-SVN: r28269

libiberty/ChangeLog
libiberty/splay-tree.c

index 41c21f26d49f6d90ab05f8f553ebf0988c55135c..ac75bc7431ab58324d90e1fcb58e250ddacd4a2f 100644 (file)
@@ -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
index b6bb5a6a8f05d9377ae3fcf4699ca352ed745bd4..1cb6bd91f2299dc146423094cd1525e91f7e8276 100644 (file)
@@ -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);