0 -> NULL
FossilOrigin-Name: 934301b76982c5e627e27e6af843d21af328dc915d7c93c2f3c20502c42137a5
This commit is contained in:
parent
4423c1d79e
commit
0c1c1594ac
@ -12,7 +12,7 @@ struct mavl *mavl_create(int (*cmp) (const void *, const void *),
|
|||||||
struct mavl *t = malloc(sizeof(struct mavl));
|
struct mavl *t = malloc(sizeof(struct mavl));
|
||||||
if (!t)
|
if (!t)
|
||||||
return NULL;
|
return NULL;
|
||||||
t->root = 0;
|
t->root = NULL;
|
||||||
t->count = 0;
|
t->count = 0;
|
||||||
t->cmp = cmp;
|
t->cmp = cmp;
|
||||||
t->del = del;
|
t->del = del;
|
||||||
|
Loading…
Reference in New Issue
Block a user