From 7faf801d1fcad8ec0a460a3aaa97fca6f51ae294 Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Mon, 26 Nov 2012 17:02:57 +0100 Subject: [PATCH] fixing warning about uninitialized variable in libsys/vprintf.c Change-Id: I8764a57b502edc3d50a32b3e2db56c4f94592309 --- lib/libsys/vprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {