ppm2tiff: remove unused argument warning

This commit is contained in:
Thomas Bernard 2020-03-06 00:20:30 +01:00
parent 5582d0bfad
commit 622492cb31
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -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++) {