mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 09:43:34 +08:00
clang-tidy: enable hicpp-braces-around-statements and fix
This commit is contained in:
@@ -364,7 +364,7 @@ MavlinkFTP::_workList(PayloadHeader *payload, bool list_hidden)
|
||||
// move to the requested offset
|
||||
int requested_offset = payload->offset;
|
||||
|
||||
while (requested_offset-- > 0 && readdir(dp));
|
||||
while (requested_offset-- > 0 && readdir(dp)) {}
|
||||
|
||||
for (;;) {
|
||||
errno = 0;
|
||||
|
||||
Reference in New Issue
Block a user