• R/O
  • SSH

GM: Commit

Main GraphicsMagick source repository


Commit MetaInfo

Revision58b78e09b702edc84cfd561083fd35a184dbe3fb (tree)
Time2022-01-10 00:48:15
AuthorBob Friesenhahn <bfriesen@Grap...>
CommiterBob Friesenhahn

Log Message

XCF: Eliminate warnings about unused variable 'count'

Change Summary

Incremental Difference

diff -r ab97cafd3e68 -r 58b78e09b702 coders/xcf.c
--- a/coders/xcf.c Sun Jan 09 09:35:00 2022 -0600
+++ b/coders/xcf.c Sun Jan 09 09:48:15 2022 -0600
@@ -424,7 +424,7 @@
424424 nmemb_read_successfully;
425425
426426 int
427- count,
427+ /* count, */
428428 length,
429429 bpp, /* BYTES per pixel! */
430430 i,
@@ -470,7 +470,7 @@
470470 goto bogus_rle;
471471 }
472472 size = MagickArraySize(tile_image->rows,tile_image->columns);
473- count = 0;
473+ /* count = 0; */
474474
475475 while (size > 0)
476476 {
@@ -498,7 +498,7 @@
498498 xcfdata += 2;
499499 }
500500
501- count += length;
501+ /* count += length; */
502502 size -= length;
503503
504504 if (size < 0)
@@ -567,7 +567,7 @@
567567 xcfdata += 2;
568568 }
569569
570- count += length;
570+ /* count += length; */
571571 size -= length;
572572
573573 if (size < 0)
Show on old repository browser