Permalink
Browse files

splay-tree: fix uninitalized variable

  • Loading branch information...
1 parent 9d25c29 commit e39dc859be9bee46d7d7cda970995c1e8d8e57ac @indutny committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/splay-tree.h
View
@@ -63,8 +63,8 @@ class SplayTree {
}
Item* current;
- Item* last_positive;
Item* next = root_;
+ Item* last_positive = root_;
int cmp;
do {
current = next;

0 comments on commit e39dc85

Please sign in to comment.