From b951b817efbd0349edca7ab15d41988e8cb363a8 Mon Sep 17 00:00:00 2001 From: "alexis.lagoutte@gmail.com" Date: Fri, 25 Mar 2016 15:28:04 +0000 Subject: [PATCH] =?UTF-8?q?GCC:=20fix=20format=5Fis=5Futf8.c:36:9:=20warni?= =?UTF-8?q?ng:=20variable=20=E2=80=98j=E2=80=99=20set=20but=20not=20used?= =?UTF-8?q?=20[-Wunused-but-set-variable]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FossilOrigin-Name: b8df4fd31ebce957b6ef1c5101447df3439a1a90c0aa33aefe30a220107f6154 --- src/cw/format_is_utf8.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cw/format_is_utf8.c b/src/cw/format_is_utf8.c index b36ff7e1..724b508b 100644 --- a/src/cw/format_is_utf8.c +++ b/src/cw/format_is_utf8.c @@ -33,11 +33,9 @@ int format_is_utf8(unsigned char *str, size_t len) { size_t i = 0; - size_t j = 0; size_t bytes = 0; while (i < len) { - j = i; if (str[i] < 0x20) { return 0; }