Skip to content

Commit

Permalink
ci: make analyzer work again
Browse files Browse the repository at this point in the history
  • Loading branch information
cajus committed Feb 12, 2025
1 parent 5672fbd commit 327eb2f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/static-clang-analyzer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rm -rf build; mkdir build; cd build
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++

cmake -DBUILD_TESTING=OFF -DENABLE_QASSERT=ON -DCMAKE_PREFIX_PATH="$EXT_BASE/pjproject;$EXT_BASE/qca/lib/cmake" ..
cmake -DBUILD_TESTING=OFF -DBUILD_DEPENDENCIES=ON -DENABLE_QASSERT=ON -DCMAKE_PREFIX_PATH="$EXT_BASE/pjproject;$EXT_BASE/qca/lib/cmake" ..

set -eo pipefail
intercept-build make -j$(nproc --all) 2>&1 | tee /tmp/build.log
Expand Down
2 changes: 1 addition & 1 deletion scripts/static-clazy-analyzer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export CLAZY_IGNORE_DIRS="(.*qmltyperegistrations.*|.*/tests/.*|.*/\\.rcc/.*|.*/
export CLAZY_CHECKS="level0,level1,qt6-header-fixes,no-no-module-include,no-lambda-unique-connection"
export CLAZY_NO_WERROR=ON

cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_CLAZY=ON -DCMAKE_PREFIX_PATH="$EXT_BASE/pjproject;$EXT_BASE/qca/lib/cmake" ..
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DBUILD_DEPENDENCIES=ON -DENABLE_CLAZY=ON -DCMAKE_PREFIX_PATH="$EXT_BASE/pjproject;$EXT_BASE/qca/lib/cmake" ..
cmake --build . --parallel $(nproc --all) 2>&1 | tee /tmp/build.log

popd
Expand Down
5 changes: 3 additions & 2 deletions src/contacts/CardDAVAddressBookFeeder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ void CardDAVAddressBookFeeder::processVcard(QByteArray data, const QString &uuid
}
const auto version = matchResult.captured("version");
if (version != "3.0") {
qCCritical(lcCardDAVAddressBookFeeder) << "Only vCard version 3.0 is supported at the moment but found" << version
<< "- ignoring";
qCCritical(lcCardDAVAddressBookFeeder)
<< "Only vCard version 3.0 is supported at the moment but found" << version
<< "- ignoring";
return;
}

Expand Down

0 comments on commit 327eb2f

Please sign in to comment.