From fdd854daa92e7ea16082e2c81e963bce4056781d Mon Sep 17 00:00:00 2001 From: Heng Li Date: Thu, 19 Apr 2018 23:38:02 -0400 Subject: [PATCH] fixed a compiler warning --- kavl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kavl.h b/kavl.h index 6e9102c..ee6c105 100644 --- a/kavl.h +++ b/kavl.h @@ -136,7 +136,7 @@ int main(void) { __type *path[KAVL_MAX_DEPTH]; \ __type *bp, *bq; \ __type *p, *q, *r = 0; /* _r_ is potentially the new root */ \ - int i, which, top, b1, path_len; \ + int i, which = 0, top, b1, path_len; \ unsigned cnt = 0; \ bp = *root_, bq = 0; \ /* find the insertion location */ \ -- 2.47.3