File: cppcheck.sh

package info (click to toggle)
trinity 1.8-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,284 kB
  • sloc: ansic: 33,847; sh: 536; makefile: 234
file content (5 lines) | stat: -rwxr-xr-x 210 bytes parent folder | download | duplicates (6)
1
2
3
4
5
#!/bin/sh

cppcheck --quiet --enable=all -f . 2>warnings.$$
grep -v bounds warnings.$$ | grep -v Skipping | grep -v is\ never\ used | grep -v scanf | grep -v check-config | grep -v reassigned
rm -f warnings.$$