From 023a881fb97d0c2cd47a32eddd0898fe1242fe41 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Thu, 29 Jun 2017 22:23:09 +0200 Subject: [PATCH] Enable more compiler warnings by default, except unused parameters Signed-off-by: Joachim Nilsson --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 1f349064..52010f67 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -43,7 +43,7 @@ endif initctl_SOURCES = initctl.c svc.c svc.h cond.c cond.h \ util.c util.h -initctl_CFLAGS = $(lite_CFLAGS) +initctl_CFLAGS = -W -Wall -Wextra -Wno-unused-parameter $(lite_CFLAGS) initctl_LDADD = $(lite_LIBS) reboot_SOURCES = reboot.c util.c util.h