File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ for f in *.c; do
5
5
CPPCHECK_unmatched=" $CPPCHECK_unmatched --suppress=unmatchedSuppression:$f "
6
6
done
7
7
8
- CPPCHECK_suppresses=" \
8
+ CPPCHECK_suppresses=" \
9
9
--suppress=missingIncludeSystem \
10
- --suppress=noValidConfiguration \
11
- --suppress=unusedFunction\
10
+ --suppress=noValidConfiguration:fibdrv.c \
11
+ --suppress=unusedFunction:fibdrv.c \
12
12
"
13
13
CPPCHECK_OPTS=" -I. --enable=all --error-exitcode=1 --force $CPPCHECK_suppresses $CPPCHECK_unmatched ."
14
14
@@ -90,12 +90,6 @@ if [ ! -z "${FILES[*]}" ]; then
90
90
echo " ${FILES[*]} "
91
91
fi
92
92
93
- $SHA1SUM -c scripts/checksums > /dev/null
94
- if [ $? -ne 0 ]; then
95
- echo " [!] You are not allowed to change the header file queue.h or list.h" >&2
96
- exit 1
97
- fi
98
-
99
93
# Prevent unsafe functions
100
94
root=$( git rev-parse --show-toplevel)
101
95
banned=" ([^f]gets\()|(sprintf\()|(strcpy\()"
You can’t perform that action at this time.
0 commit comments