From 5a54b532d970b9d76862ee47b5364bcbc2f82330 Mon Sep 17 00:00:00 2001 From: "Urabe, Shyouhei" Date: Tue, 22 Mar 2016 20:37:50 +0900 Subject: [PATCH] avoid clobbering loop counter This was safe, because the outer loop ends here. But was definitely a bad habit, and reusing local variable to save memory is a lame technique. --- nkf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nkf.c b/nkf.c index 6cdb026..654c7a9 100644 --- a/nkf.c +++ b/nkf.c @@ -5436,8 +5436,8 @@ mime_putc(nkf_char c) mimeout_state.buf[mimeout_state.count++] = (char)c; if (mimeout_state.count>MIMEOUT_BUF_LENGTH) { eof_mime(); - for (i=0;i