mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
testcommon.c: Suppress unused args warning in testUtilCmpPngs if NO_PNG
This commit is contained in:
parent
d81b5db271
commit
7a7210cfa1
1 changed files with 3 additions and 1 deletions
|
@ -1208,7 +1208,9 @@ int testUtilExists(char *filename) {
|
||||||
|
|
||||||
int testUtilCmpPngs(char *png1, char *png2) {
|
int testUtilCmpPngs(char *png1, char *png2) {
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
#ifndef NO_PNG
|
#ifdef NO_PNG
|
||||||
|
(void)png1; (void)png2;
|
||||||
|
#else
|
||||||
FILE *fp1;
|
FILE *fp1;
|
||||||
FILE *fp2;
|
FILE *fp2;
|
||||||
png_structp png_ptr1, png_ptr2;
|
png_structp png_ptr1, png_ptr2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue