Package: cppcheck Version: cppcheck Severity: normal Tags: upstream cppcheck . --enable=unusedFunction
I have some source code with known unused functions, but the above line does not reveal those functions. It checks the source files, but does not report the unused functions. The upstream version 1.76.1, which is the same version currently in Testing, works perfectly. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)

