From 23ed4e61af2a59b3b02cc6c1e944eb718cb1ef17 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Fri, 27 Aug 2021 17:09:40 +0100 Subject: [PATCH] Remove compiler warning If no route or automation definitions were present, the compiler warned that parameter stream is not used in function RMFT2::emitWithrottleDescriptions. --- RMFTMacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RMFTMacros.h b/RMFTMacros.h index 7352513..b912540 100644 --- a/RMFTMacros.h +++ b/RMFTMacros.h @@ -51,7 +51,7 @@ #define ALIAS(name,value) const int name=value; -#define EXRAIL void RMFT2::emitWithrottleDescriptions(Print * stream) { +#define EXRAIL void RMFT2::emitWithrottleDescriptions(Print * stream) {(void)stream; #define ROUTE(id, description) emitRouteDescription(stream,'R',id,F(description)); #define AUTOMATION(id, description) emitRouteDescription(stream,'A',id,F(description)); #define ENDEXRAIL }