From: Heng Li Date: Fri, 20 Apr 2018 03:38:02 +0000 (-0400) Subject: fixed a compiler warning X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=fdd854daa92e7ea16082e2c81e963bce4056781d;p=klib.git fixed a compiler warning --- 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 */ \