Archived
1
0
Fork 0

rbtree.c: fix uninitialized value.

This commit is contained in:
Henrik Hautakoski 2011-01-29 11:02:26 +01:00
parent 6714397d10
commit c37f720989

View file

@ -208,7 +208,7 @@ int rbtree_insert(rbtree *tree, const void *key) {
/* iterator and parent */
rbnode *p, *q;
int dir = 0, last;
int dir = 0, last = 0;
if (!tree || !tree->cmp_fn)
return 0;