From 1bac8d6561a742e2a1fe2008e7fdeec8f026d5c6 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Fri, 18 Apr 2014 18:21:03 +0400 Subject: [PATCH] Fixed unused variables in generated code --- .../libuavcan_dsdl_compiler/data_type_template.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/data_type_template.tmpl b/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/data_type_template.tmpl index a514f686e5..de21d7d095 100644 --- a/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/data_type_template.tmpl +++ b/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/data_type_template.tmpl @@ -314,6 +314,9 @@ public: template 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)