testcommon.c: Suppress unused args warning in testUtilCmpPngs if NO_PNG

This commit is contained in:
gitlost 2021-03-08 13:14:38 +00:00
parent d81b5db271
commit 7a7210cfa1

View File

@ -1208,7 +1208,9 @@ int testUtilExists(char *filename) {
int testUtilCmpPngs(char *png1, char *png2) {
int ret = -1;
#ifndef NO_PNG
#ifdef NO_PNG
(void)png1; (void)png2;
#else
FILE *fp1;
FILE *fp2;
png_structp png_ptr1, png_ptr2;