Run cppcheck. Fixed errors in C code found by cppcheck.

This commit is contained in:
Don Cross
2023-03-25 14:46:42 -04:00
parent 9ab7767a57
commit 501c19015b
7 changed files with 22 additions and 12 deletions

View File

@@ -23,10 +23,10 @@ jobs:
run: python -m pip install --upgrade pip && pip install pylint mypy
- name: Install documentation tools Linux
if: startsWith(matrix.os, 'ubuntu')
run: sudo apt install -y doxygen xsltproc
run: sudo apt install -y doxygen xsltproc cppcheck
- name: Install documentation tools macOS
if: startsWith(matrix.os, 'macOS')
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install doxygen
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install doxygen cppcheck
- name: Init Node.js 16
uses: actions/setup-node@v3
with: