mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 06:53:33 +08:00
Fixes suggested by static analyzer
This commit is contained in:
@@ -220,7 +220,7 @@ std::string Frame::toString() const
|
||||
ofs += snprintf(buf + ofs, BUFLEN - ofs, " ");
|
||||
}
|
||||
}
|
||||
ofs += snprintf(buf + ofs, BUFLEN - ofs, "]");
|
||||
(void)snprintf(buf + ofs, BUFLEN - ofs, "]");
|
||||
return std::string(buf);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user