From: Heng Li Date: Mon, 25 Jul 2011 05:31:19 +0000 (-0400) Subject: killed a warning X-Git-Tag: ksprintf-final~17 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=91725154316e6f705b90e24aa722080b4c82427b;p=klib.git killed a warning --- diff --git a/kstring.c b/kstring.c index c3d62c2..84c28ee 100644 --- a/kstring.c +++ b/kstring.c @@ -325,7 +325,7 @@ int ksprintf_fast(kstring_t *s, const char *fmt, ...) s->s[s->l++] = '0'; } else { // other cases double f, base, p10; - int type = *p, e, w, tmp; + int type = *p, e, tmp; uint64_t y; if (z.f < 0) z.f = 6; // default precision if (z.f > 20) z.f = 20; // maximum precision. 1<<63 ~ 1e20