changeset 1741:6f1313c761aa

Actually fix the warnings .. sigh.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 09 Jun 2018 17:04:33 +0300
parents c3b3c23cbd44
children ddec147d1f90
files tools/lib64gfx.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Sat Jun 09 17:02:35 2018 +0300
+++ b/tools/lib64gfx.c	Sat Jun 09 17:04:33 2018 +0300
@@ -367,8 +367,6 @@
 
 void dmSetupRLEBuffers(DMGrowBuf *dst, DMGrowBuf *src, const DMCompParams *cfg)
 {
-    (void) src;
-
     if (cfg->flags & DM_RLE_BACKWARDS_INPUT)
     {
         src->offs = src->len - 1;
@@ -385,6 +383,8 @@
 
 void dmFinishRLEBuffers(DMGrowBuf *dst, DMGrowBuf *src, const DMCompParams *cfg)
 {
+    (void) src;
+
     if (cfg->flags & DM_RLE_BACKWARDS_OUTPUT)
     {
         memmove(dst->data, dst->data + dst->offs, dst->len);