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
@@ -730,10 +730,11 @@ class SinglePersistentQueryTestHandler : public SingleLoadTestHandler {
|
||||
AssertMainBrowser(browser);
|
||||
AssertMainFrame(frame);
|
||||
|
||||
if (test_type_ == SUCCESS)
|
||||
if (test_type_ == SUCCESS) {
|
||||
EXPECT_STREQ("success", message.c_str());
|
||||
else if (test_type_ == FAILURE)
|
||||
} else if (test_type_ == FAILURE) {
|
||||
EXPECT_STREQ("failure", message.c_str());
|
||||
}
|
||||
|
||||
got_notify_.yes();
|
||||
|
||||
|
Reference in New Issue
Block a user