Fix expression result unused warning

This commit is contained in:
Andrew Murray 2017-10-02 08:22:22 +11:00
parent 007adc3134
commit 0af6d75d00

View File

@ -73,7 +73,7 @@ ImagingSplit(Imaging imIn, Imaging bands[4])
/* Check arguments */ /* Check arguments */
if (!imIn || imIn->type != IMAGING_TYPE_UINT8) { if (!imIn || imIn->type != IMAGING_TYPE_UINT8) {
(Imaging) ImagingError_ModeError(); (void) ImagingError_ModeError();
return 0; return 0;
} }