Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit df161a4d authored by Yi Kong's avatar Yi Kong
Browse files

Fix string-compare warning

packages/modules/DnsResolver/tests/resolv_private_dns_test.cpp:1096:51: error: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Werror,-Wstring-compare]
        EXPECT_EQ(doh.resumedConnections(), (flag == "1" ? 2 : 0));
                                                  ^  ~~~

Test: presubmit
Bug: 153764102
Change-Id: I82ba5615c75a9d0eb277ac3dc753e442169fc4d9
parent 6eb31445
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment