* splay-tree.c (splay_tree_insert): Add initialization to avoid
authorIan Lance Taylor <ian@airs.com>
Sun, 11 Jul 1999 19:13:51 +0000 (19:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 11 Jul 1999 19:13:51 +0000 (19:13 +0000)
warning.

libiberty/ChangeLog
libiberty/splay-tree.c

index 16d322972209d8fe4b94c9992a42c98ad39b4d12..eb9aec23f925538e38e67fd424f21c25ddfd74ca 100644 (file)
@@ -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
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);