Bugfix/add makefile lint fix warnings (#39)
* fix warnings indicated by scan-build lint tool * add lint target to makefile using scan-build tool * add lint into build script stages (note: uses scan-build-7) * fix potential use of memory after it is freed
This commit is contained in:
+1
-2
@@ -30,8 +30,7 @@ jobs:
|
||||
- stage: lint
|
||||
os: linux
|
||||
compiler: clang
|
||||
# script: scan-build --status-bugs -analyze-headers -v make -j2 clean server
|
||||
script: skip
|
||||
script: make clean lint
|
||||
- stage: ports-arm
|
||||
os: linux
|
||||
before_script:
|
||||
|
||||
Reference in New Issue
Block a user