input/chronovu_la8: Code cleanup.

This cleans up a warning generated by clang's static analyzer.
This commit is contained in:
Bert Vermeulen 2014-10-02 13:55:37 +02:00
parent 577a9fe423
commit 74e1f6f53c
1 changed files with 0 additions and 1 deletions

View File

@ -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);