From a4e085dcc682da556af59d8b2c8a0afe44c6f257 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Mon, 20 Dec 2010 21:13:32 +0000 Subject: [PATCH] Fix used-uninitialised warning in fmt_rfc2047.c Fix a used-uninitialised warning in fmt_rfc2047.c. I don't think it can actually be used uninitialised, but the code is too complicated for the compiler to realise this. Signed-off-by: Peter Maydell --- sbr/fmt_rfc2047.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sbr/fmt_rfc2047.c b/sbr/fmt_rfc2047.c index 6f208a1..4d3fc29 100644 --- a/sbr/fmt_rfc2047.c +++ b/sbr/fmt_rfc2047.c @@ -236,6 +236,7 @@ decode_rfc2047 (char *str, char *dst, size_t dstlen) } else { /* base64 */ int c1, c2, c3, c4; + c1 = c2 = c3 = c4 = -1; pp = startofmime; while (pp < endofmime) { -- 1.7.10.4