From 83a08f4bf28db12d909a0fd70b6c48cd8ddfe0eb Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 25 Jan 2024 12:45:16 -0800 Subject: [PATCH] Fixed error: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt] --- src/codec_aom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codec_aom.c b/src/codec_aom.c index 6bf2ea7ccc..76684295b4 100644 --- a/src/codec_aom.c +++ b/src/codec_aom.c @@ -827,7 +827,7 @@ static avifResult aomCodecEncodeImage(avifCodec * codec, int layerCount = encoder->extraLayerCount + 1; if (aom_codec_control(&codec->internal->encoder, AOME_SET_NUMBER_SPATIAL_LAYERS, layerCount) != AOM_CODEC_OK) { return AVIF_RESULT_UNKNOWN_ERROR; - }; + } } if (aomCpuUsed != -1) { if (aom_codec_control(&codec->internal->encoder, AOME_SET_CPUUSED, aomCpuUsed) != AOM_CODEC_OK) {