mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 00:23:34 +08:00
remove Wpacked and cleanup unused warning flags
This commit is contained in:
committed by
Lorenz Meier
parent
f58596bbcd
commit
2487dbfc92
@@ -1149,7 +1149,7 @@ Mission::reset_offboard_mission(struct mission_s &mission)
|
||||
if (mission.count > 0) {
|
||||
dm_item_t dm_current = DM_KEY_WAYPOINTS_OFFBOARD(mission.dataman_id);
|
||||
|
||||
for (int index = 0; index < mission.count; index++) {
|
||||
for (unsigned index = 0; index < mission.count; index++) {
|
||||
struct mission_item_s item;
|
||||
const ssize_t len = sizeof(struct mission_item_s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user