mirror of
https://gitlab.com/spaceti-app/integrations/common/server-sdk.git
synced 2026-07-12 14:20:50 +02:00
Merge branch 'edit-cppcheck' into 'master'
Edit cppcheck See merge request spaceti-app/integrations/common/server-sdk!18
This commit is contained in:
commit
d4c4d75b49
@ -7,8 +7,13 @@ SOURCE_DIR=$PWD
|
|||||||
|
|
||||||
EXCLUDE_DIR=build
|
EXCLUDE_DIR=build
|
||||||
CHECK_DIR=$SOURCE_DIR/src
|
CHECK_DIR=$SOURCE_DIR/src
|
||||||
SUPPRESS="--suppress=missingInclude --suppress=unusedFunction"
|
SUPPRESS="--suppress=missingInclude"
|
||||||
|
|
||||||
|
# Ensuring server-sdk will supress 'unuseFunction' warning
|
||||||
|
NAME=$( basename $PWD )
|
||||||
|
if [ "$NAME" == "server-sdk" ]; then
|
||||||
|
SUPPRESS=$SUPPRESS" --suppress=unusedFunction"
|
||||||
|
fi
|
||||||
|
|
||||||
info cppcheck version: `cppcheck --version`
|
info cppcheck version: `cppcheck --version`
|
||||||
if [ ! -d src ]; then
|
if [ ! -d src ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user