projects
/
platform
/
core
/
uifw
/
libds-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb8747
)
tests: Fix build warning of -Wshadow
73/290573/1
accepted/tizen/unified/20230330.104243
author
Seunghun Lee
<shiin.lee@samsung.com>
Wed, 29 Mar 2023 01:39:24 +0000
(10:39 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Wed, 29 Mar 2023 04:19:07 +0000
(13:19 +0900)
Change-Id: I1867d94617568a75e1378f4ebf70f86dcbe9c784
tests/tc_video.cpp
patch
|
blob
|
history
diff --git
a/tests/tc_video.cpp
b/tests/tc_video.cpp
index
2d493a0
..
d00883c
100644
(file)
--- 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;
}