mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 03:23:37 +08:00
Fix -Werror=format-truncation on GCC 7
Fix formatting Check snprintf return for error AND overflow
This commit is contained in:
committed by
Julian Oes
parent
407b403e68
commit
7929287f73
@@ -336,7 +336,8 @@ void FollowTarget::on_active()
|
||||
|
||||
_follow_target_state = WAIT_FOR_TARGET_POSITION;
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case WAIT_FOR_TARGET_POSITION: {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user