From 46b3a504cf5d1f3219f0f7cbfeafe3abcc29eff5 Mon Sep 17 00:00:00 2001 From: Kumataro Date: Fri, 29 Dec 2023 12:58:24 +0900 Subject: [PATCH] imgcodecs: suppress warning at test_avif.cpp --- modules/imgcodecs/test/test_avif.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgcodecs/test/test_avif.cpp b/modules/imgcodecs/test/test_avif.cpp index 99b8f7769c..72b7f54fea 100644 --- a/modules/imgcodecs/test/test_avif.cpp +++ b/modules/imgcodecs/test/test_avif.cpp @@ -166,7 +166,7 @@ TEST_P(Imgcodecs_Avif_Image_EncodeDecodeSuite, imencode_imdecode) { cv::Exception); return; } - bool result; + bool result = true; EXPECT_NO_THROW( result = cv::imencode(".avif", img_original, buf, encoding_params_);); EXPECT_TRUE(result);