aboutsummaryrefslogtreecommitdiff
path: root/libiberty/splay-tree.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-11 19:13:51 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-11 19:13:51 +0000
commitaf32ff6969e70038c3f22645b7774106d8d350d1 (patch)
treebe0803da4c721f0d4103a53d97517e960ec0d09b /libiberty/splay-tree.c
parent56e82f25870446230e343fde7a0e1770095765b3 (diff)
downloadgdb-af32ff6969e70038c3f22645b7774106d8d350d1.zip
gdb-af32ff6969e70038c3f22645b7774106d8d350d1.tar.gz
gdb-af32ff6969e70038c3f22645b7774106d8d350d1.tar.bz2
* splay-tree.c (splay_tree_insert): Add initialization to avoid
warning.
Diffstat (limited to 'libiberty/splay-tree.c')
-rw-r--r--libiberty/splay-tree.c4
1 files changed, 2 insertions, 2 deletions
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);