Fix llvm-15 build error

Signed-off-by: yinchuang <yinchuang@huawei.com>
Change-Id: If4660d87d6bc597c81cd1725f6d0cc0b55ac0b31
This commit is contained in:
yinchuang 2023-03-27 07:53:41 +00:00
parent 82f306a37d
commit 3a6cf93465

View File

@ -202,7 +202,7 @@ HWTEST_F(WindowVisibilityInfoTest, WindowVisibilityInfoTest01, Function | Medium
bool isWindowVisible = false;
bool isSubWindowVisible = false;
uint32_t visibilityInfoCount = 0;
[[maybe_unused]] uint32_t visibilityInfoCount = 0;
ASSERT_EQ(WMError::WM_OK, window1->Show());
isWindowVisible = FillColor(window1);
WaitForCallback();