changeset 1583:fd0d1b4efc83

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 14 May 2018 00:09:36 +0300
parents 1f6aed186c4e
children f1b279ba47a8
files tools/libgfx.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/libgfx.c	Sun May 13 23:20:32 2018 +0300
+++ b/tools/libgfx.c	Mon May 14 00:09:36 2018 +0300
@@ -26,10 +26,9 @@
 
 BOOL dmPutBits(DMBitStreamContext *ctx, const int val, const int n)
 {
-    int i;
     unsigned int mask = 1 << (n - 1);
 
-    for (i = 0; i < n; i++)
+    for (int i = 0; i < n; i++)
     {
         ctx->outBuf <<= 1;