removed debug.h in favor for log.h
This commit is contained in:
parent
8ad0243c31
commit
f156e8906c
9 changed files with 28 additions and 74 deletions
|
|
@ -10,9 +10,9 @@
|
|||
* Based on the work of Julienne Walker's rbtree implementation
|
||||
* http://www.eternallyconfuzzled.com/tuts/datastructures/jsw_tut_rbtree.aspx
|
||||
*/
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include "xalloc.h"
|
||||
#include "debug.h"
|
||||
#include "rbtree.h"
|
||||
|
||||
#define is_red(n) ((n) != NULL && (n)->color == RB_RED)
|
||||
|
|
@ -114,8 +114,6 @@ rbnode* rbtree_search(rbtree *tree, unsigned key) {
|
|||
|
||||
while(n) {
|
||||
|
||||
dprint("SEARCH: check %u\n", n->key);
|
||||
|
||||
if (n->key == key)
|
||||
break;
|
||||
|
||||
|
|
|
|||
Reference in a new issue