commit 3caac7f24cf1016970f675ebda980a83bbdb263a
parent 22720f8562ba3e79013c18ddc78cfe79a16ccf09
Author: Frederic Cambus <fred@statdns.com>
Date: Thu, 15 Nov 2018 11:50:12 +0100
Remove next_character variable, it's now unused
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c
@@ -94,7 +94,7 @@ int ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options)
uint32_t ansi_sequence_loop;
/* character definitions */
- unsigned char current_character, next_character, character;
+ unsigned char current_character, character;
unsigned char ansi_sequence_character;
/* default color values */
@@ -122,7 +122,6 @@ int ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options)
/* ANSi interpreter */
while (loop < ctx->length) {
current_character = ctx->buffer[loop];
- next_character = ctx->buffer[loop + 1];
if (column == options->columns) {
row++;