mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 05:23:33 +08:00
Strict warnings in the unit tests. This commit needs to be carefully reviewed.
This commit is contained in:
@@ -23,7 +23,7 @@ TEST(CanDriverMock, Basic)
|
||||
EXPECT_EQ(7, masks.write);
|
||||
EXPECT_EQ(0, masks.read);
|
||||
|
||||
for (int i = 0; i < 3; i++)
|
||||
for (unsigned i = 0; i < 3; i++)
|
||||
{
|
||||
driver.ifaces.at(i).writeable = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user