mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Fixed unused variables in generated code
This commit is contained in:
parent
fe2b49b1ab
commit
1bac8d6561
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user