cppcheck --enable=warning was added in 1.59 is superfluous with style anyway
authorMichael Wallner <mike@php.net>
Wed, 21 Sep 2016 13:06:59 +0000 (15:06 +0200)
committerMichael Wallner <mike@php.net>
Wed, 21 Sep 2016 13:06:59 +0000 (15:06 +0200)
Makefile

index 479b3ec17213a94bf86436e1e9ca169529dce8bb..b73f4dd5cdbe95493ba0f3fcde5ad1ae329e3af1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ PECL_DIR := $(if $(filter ext ext%, $(MAKECMDGOALS)), $(curdir), $(srcdir)/pecl-
 PHP_RELEASES = $(srcdir)/releases.tsv
 PHP_VERSION ?= $(shell test -e $(PHP_RELEASES) && cat $(PHP_RELEASES) | awk -F "\t" '/^$(PHP)\t/{print $$2}')
 
-CPPCHECK ?= -v -j $(JOBS) --enable=warning,portability,style --error-exitcode=42 --suppressions-list=$(makdir)/cppcheck.suppressions -I.
+CPPCHECK ?= -v -j $(JOBS) --enable=portability,style --error-exitcode=42 --suppressions-list=$(makdir)/cppcheck.suppressions -I.
 
 .SUFFIXES: