Skip to content

Commit

Permalink
cscppc: do not add -D_exit=exit -Ddie=exit to the cppcheck command line
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kdudka committed May 25, 2018
1 parent da2bfd2 commit df8c3b6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cscppc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down

0 comments on commit df8c3b6

Please sign in to comment.