From 622492cb31d405e56267c1a0a026b5a63f18fb66 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 6 Mar 2020 00:20:30 +0100 Subject: [PATCH] ppm2tiff: remove unused argument warning --- tools/ppm2tiff.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/ppm2tiff.c b/tools/ppm2tiff.c index 8cc45e1b..6433a67b 100644 --- a/tools/ppm2tiff.c +++ b/tools/ppm2tiff.c @@ -66,6 +66,9 @@ static int processCompressOptions(char*); static void pack_none (unsigned char *buf, unsigned int smpls, uint16 bps) { + (void)buf; + (void)smpls; + (void)bps; return; } @@ -75,6 +78,7 @@ pack_swab (unsigned char *buf, unsigned int smpls, uint16 bps) unsigned int s; unsigned char h; unsigned char l; + (void)bps; for (s = 0; smpls > s; s++) {