From: Lionel Sambuc Date: Mon, 26 Nov 2012 16:02:57 +0000 (+0100) Subject: fixing warning about uninitialized variable in libsys/vprintf.c X-Git-Tag: v3.2.1~173 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=refs%2Fchanges%2F29%2F129%2F3;p=minix.git fixing warning about uninitialized variable in libsys/vprintf.c Change-Id: I8764a57b502edc3d50a32b3e2db56c4f94592309 --- diff --git a/lib/libsys/vprintf.c b/lib/libsys/vprintf.c index e66908966..00198065c 100644 --- a/lib/libsys/vprintf.c +++ b/lib/libsys/vprintf.c @@ -28,7 +28,7 @@ int vprintf(const char *fmt, va_list argp) char *x2c; char *p; long long i; - unsigned long long u; + unsigned long long u = 0; char temp[8 * sizeof(long long) / 3 + 2]; while ((c= *fmt++) != 0) {