From 1be2cf1b948e86500b337761db01eeef3a8fddd6 Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 25 Jan 2022 14:04:53 -0500 Subject: [PATCH] [sixel] stop tracking unused value pos --- src/lib/sixel.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/sixel.c b/src/lib/sixel.c index d167a3bbd..b800766ec 100644 --- a/src/lib/sixel.c +++ b/src/lib/sixel.c @@ -764,7 +764,6 @@ extract_color_table(const uint32_t* data, int linesize, int cols, return -1; } bargs->u.pixel.spx->needs_refresh = rmatrix; - int pos = 0; // pixel position for(int y = 0 ; y < crows ; ++y){ // cell row for(int x = 0 ; x < ccols ; ++x){ // cell column const int txyidx = y * ccols + x; @@ -851,7 +850,6 @@ fprintf(stderr, "TXYIDX %d (%d/%d) START %d/%d END %d/%d\n", txyidx, y, x, cstar return -1; } ++pixels; - ++pos; } } loginfo("octree got %"PRIu32" entries on %"PRIu64" pixels", octets, pixels);