mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Linux: Fix error: suggest explicit braces to avoid ambiguous ‘else’ [-Werror=dangling-else] with gcc 7.1
This commit is contained in:
committed by
Marshall Greenblatt
parent
76eb49196e
commit
5b12134a45
@@ -344,8 +344,9 @@ void TestHandler::DestroyTest() {
|
||||
|
||||
void TestHandler::OnTestTimeout(int timeout_ms, bool treat_as_error) {
|
||||
EXPECT_UI_THREAD();
|
||||
if (treat_as_error)
|
||||
if (treat_as_error) {
|
||||
EXPECT_TRUE(false) << "Test timed out after " << timeout_ms << "ms";
|
||||
}
|
||||
DestroyTest();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user