changeset 1944:d9a0a4bccf5d

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 29 Jun 2018 01:56:20 +0300
parents 6e28a33ed851
children 80d67f0e8567
files tools/lib64gfx.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Fri Jun 29 01:15:30 2018 +0300
+++ b/tools/lib64gfx.c	Fri Jun 29 01:56:20 2018 +0300
@@ -441,8 +441,7 @@
 
 int dmGenericRLEOutputRun(DMGrowBuf *dst, const DMCompParams *cfg, const Uint8 data, const unsigned int count)
 {
-    unsigned int scount;
-    for (scount = count; scount; scount--)
+    for (unsigned int scount = count; scount; scount--)
     {
         if (!dmGrowBufPutU8(dst, data))
         {