File: cppcheck.supp

package info (click to toggle)
dpkg 1.23.3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 59,056 kB
  • sloc: ansic: 40,197; perl: 30,221; sh: 18,907; cpp: 6,054; makefile: 5,222; sed: 127
file content (29 lines) | stat: -rw-r--r-- 844 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
// Suppression file for cppcheck.
///

// We assume that the system has a sane NULL definition.
varFuncNullUB

// We do not always want to make variables pointers to const.
constVariablePointer

// TODO: While perhaps valid there are many to handle right away.
constParameterCallback
constParameterPointer

// Ignore, this is an imported module.
cstyleCast:lib/compat/gettext.h
unusedStructMember:lib/compat/obstack.c
nullPointerArithmetic:lib/compat/obstack.c

// Ignore, the code is used only for its binary artifacts.
uninitMemberVar:*/Dpkg_Shlibs/patterns.cpp
unusedStructMember:*/Dpkg_Shlibs/patterns.cpp

// Ignore, the code is testing whether the functions return.
unreachableCode:lib/dpkg/t/t-ehandle.c

// Ignore, the code is testing the macros.
duplicateExpression:lib/dpkg/t/t-macros.c
duplicateValueTernary:lib/dpkg/t/t-macros.c