Util: Fix warning when libpng is disabled
This commit is contained in:
parent
bbdcb8b83b
commit
f637b5b1e8
@ -296,6 +296,10 @@ bool mImageSaveVF(const struct mImage* image, struct VFile* vf, const char* form
|
||||
if (strcasecmp(format, "png") == 0) {
|
||||
return mImageSavePNG(image, vf);
|
||||
}
|
||||
#else
|
||||
UNUSED(image);
|
||||
UNUSED(vf);
|
||||
UNUSED(format);
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user