File: cppcheck.sh

package info (click to toggle)
trinity 1.9%2Bgit20230109.87f1530-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,116 kB
  • sloc: ansic: 33,463; sh: 536; makefile: 163
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.$$