From a37a8c733e446c6ff52c98b68112a0cfcc8fa17f Mon Sep 17 00:00:00 2001 From: andreas karlsson Date: Mon, 8 Apr 2019 10:02:03 +0200 Subject: [PATCH] Fix to enable building the SOEM library VER 2 with -werror --- soem/ethercatconfig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/soem/ethercatconfig.c b/soem/ethercatconfig.c index b936e68..aecd4b7 100644 --- a/soem/ethercatconfig.c +++ b/soem/ethercatconfig.c @@ -246,6 +246,8 @@ static int ecx_config_from_table(ecx_contextt *context, uint16 slave) #else static int ecx_config_from_table(ecx_contextt *context, uint16 slave) { + (void)context; + (void)slave; return 0; } #endif