Merge pull request #8288 from radarhere/quant

Removed unused variable
This commit is contained in:
Hugo van Kemenade 2024-08-06 08:21:00 +03:00 committed by GitHub
commit f2469cb1bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -308,11 +308,10 @@ mergesort_pixels(PixelList *head, int i) {
#ifdef DEBUG #ifdef DEBUG
static int static int
test_sorted(PixelList *pl[3]) { test_sorted(PixelList *pl[3]) {
int i, n, l; int i, l;
PixelList *t; PixelList *t;
for (i = 0; i < 3; i++) { for (i = 0; i < 3; i++) {
n = 0;
l = 256; l = 256;
for (t = pl[i]; t; t = t->next[i]) { for (t = pl[i]; t; t = t->next[i]) {
if (l < t->p.a.v[i]) if (l < t->p.a.v[i])