mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-08 12:48:53 +08:00
Fixed unused variables in generated code
This commit is contained in:
@@ -314,6 +314,9 @@ public:
|
||||
template <typename Stream>
|
||||
void YamlStreamer< ${type_name} >::stream(Stream& s, ${type_name}::ParameterType obj, const int level)
|
||||
{
|
||||
(void)s;
|
||||
(void)obj;
|
||||
(void)level;
|
||||
% for idx,a in enumerate(fields):
|
||||
% if idx == 0:
|
||||
if (level > 0)
|
||||
|
||||
Reference in New Issue
Block a user