From: Seunghun Lee Date: Wed, 29 Mar 2023 01:39:24 +0000 (+0900) Subject: tests: Fix build warning of -Wshadow X-Git-Tag: accepted/tizen/unified/20230330.104243^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5afa007adf334eaf7f5e908e3defb3f59088024;p=platform%2Fcore%2Fuifw%2Flibds-tizen.git tests: Fix build warning of -Wshadow Change-Id: I1867d94617568a75e1378f4ebf70f86dcbe9c784 --- diff --git a/tests/tc_video.cpp b/tests/tc_video.cpp index 2d493a0..d00883c 100644 --- a/tests/tc_video.cpp +++ b/tests/tc_video.cpp @@ -128,10 +128,10 @@ TEST_F(VideoCompositor, AddFormats) ASSERT_EQ(supported_format.size(), ret_formats.size()); bool found; - for (uint32_t supported_format : supported_format) { + for (uint32_t format : supported_format) { found = false; for (uint32_t ret_format : ret_formats) { - if (supported_format == ret_format) { + if (format == ret_format) { found = true; break; }