From 74e1f6f53c47889ddfa67a35703d6f13e54a1df4 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Thu, 2 Oct 2014 13:55:37 +0200 Subject: [PATCH] input/chronovu_la8: Code cleanup. This cleans up a warning generated by clang's static analyzer. --- src/input/chronovu_la8.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/input/chronovu_la8.c b/src/input/chronovu_la8.c index 1d7e16ad..55331df8 100644 --- a/src/input/chronovu_la8.c +++ b/src/input/chronovu_la8.c @@ -109,7 +109,6 @@ static int process_buffer(struct sr_input *in) /* Cut off at multiple of unitsize. */ chunk_size = in->buf->len / logic.unitsize * logic.unitsize; - chunk = 0; for (i = 0; i < chunk_size; i += chunk) { logic.data = in->buf->str + i; chunk = MIN(MAX_CHUNK_SIZE, chunk_size - i);