more fixes
Costa Tsaousis (ktsaou) committed
Dec 26, 2017 at 07:15 UTC
776f82c2af49d35ccabe9d728a91d2679642043c
3 files changed
+5
-1
coverity-scan.sh
+2
-1
@@ -1,4 +1,5 @@
1
-#/bin/bash
1
+#!/usr/bin/env bash
2
+#!/usr/bin/env bash
3
4
cpus=$(grep ^processor </proc/cpuinfo| wc -l)
5
[ -z "${cpus}" ] && cpus=1
cppcheck.sh
+2
@@ -28,6 +28,8 @@ shift
28
-I .. \
29
--force \
30
--enable=warning,performance,portability,information \
31
+ --library=gnu \
32
+ --library=posix \
33
--suppress="unusedFunction:*" \
34
--suppress="nullPointerRedundantCheck:*" \
35
"${file}" "${@}"
netdata.cppcheck
+1
@@ -6,6 +6,7 @@
6
<dir name=".."/>
7
</includedir>
8
<libraries>
9
+ <library>cppcheck-lib</library>
10
<library>gnu</library>
11
<library>posix</library>
12
</libraries>