From 1107dbc566f8cf9ae72f79cbee8ccc92b5c7e267 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 8 Jan 2017 14:45:19 +0100 Subject: [PATCH] fix for compiler warnings --- src/ebusd/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ebusd/Makefile.am b/src/ebusd/Makefile.am index 6041e543..dddb149f 100644 --- a/src/ebusd/Makefile.am +++ b/src/ebusd/Makefile.am @@ -1,4 +1,4 @@ -AM_CXXFLAGS = -Wconversion \ +AM_CXXFLAGS = -Wconversion -Wunused-parameter \ -isystem$(top_srcdir)/src/lib/utils \ -isystem$(top_srcdir)/src/lib/ebus \ -DSYSCONFDIR=\"$(sysconfdir)\" \ @@ -19,8 +19,6 @@ ebusd_SOURCES = bushandler.cpp \ if MQTT ebusd_SOURCES += mqtthandler.cpp mqtthandler.h -else -AM_CXXFLAGS += -Wunused-parameter endif ebusd_LDADD = ../lib/utils/libutils.a \