From df8c3b6377d13185fb384f13d5bbf778ee232cb7 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Fri, 25 May 2018 17:37:04 +0200 Subject: [PATCH] cscppc: do not add -D_exit=exit -Ddie=exit to the cppcheck command line This reverts the previous commit because it caused false positives to be reported at the places where die() function is defined. This needs to be solved by adding Cppcheck models for die() and _exit() instead. --- cscppc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cscppc.c b/cscppc.c index 0167ec8..9c5061a 100644 --- a/cscppc.c +++ b/cscppc.c @@ -52,8 +52,6 @@ static const char *analyzer_def_arg_list[] = { #else #error "Unknown word size" #endif - "-D_exit=exit", - "-Ddie=exit", "--inline-suppr", "--quiet", "--template={file}:{line}: {severity}: {id}: {message}",