From 6f45a3bc700d57fbfb65c471b7aebdafcc82fbe9 Mon Sep 17 00:00:00 2001 From: Slendi Date: Thu, 16 Oct 2025 20:36:17 +0300 Subject: [PATCH] Make cppcheck happy Signed-off-by: Slendi --- cppcheck.supp | 1 + src/Cache.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cppcheck.supp b/cppcheck.supp index 9a82f28..5179c5b 100644 --- a/cppcheck.supp +++ b/cppcheck.supp @@ -5,3 +5,4 @@ ignoredReturnValue *:build/generated/* *:build/_deps/* +*:vendor/* diff --git a/src/Cache.cpp b/src/Cache.cpp index 90dea83..68d1378 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -126,7 +126,8 @@ void Cache::rescan() mINI::INIStructure ini; ini_file.read(ini); - constexpr auto read_action = [&](std::string desktop_file_uri, + constexpr auto read_action = [&](std::string const + &desktop_file_uri, mINI::INIMap const §ion) { auto const name = section.get("Name");