From 370e40a5d94efb44d6b8adbca6fcaa1262793f0b Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 26 Feb 2011 22:13:19 +0100 Subject: initialize 2 variables to get rid of compiler warning Signed-off-by: Peter S. Mazinger --- libc/misc/time/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/misc/time') diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c index ff44892a8..096c3b6b4 100644 --- a/libc/misc/time/time.c +++ b/libc/misc/time/time.c @@ -1013,7 +1013,7 @@ size_t __XL_NPP(strftime)(char *__restrict s, size_t maxsize, const char *stack[MAX_PUSH]; size_t count; size_t o_count; - int field_val, i, j, lvl; + int field_val = 0, i = 0, j, lvl; int x[3]; /* wday, yday, year */ int isofm, days; char buf[__UIM_BUFLEN_LONG]; -- cgit v1.2.3