Make cppcheck happy

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-10-16 20:36:17 +03:00
parent f61710010d
commit 6f45a3bc70
2 changed files with 3 additions and 1 deletions

View File

@@ -5,3 +5,4 @@ ignoredReturnValue
*:build/generated/* *:build/generated/*
*:build/_deps/* *:build/_deps/*
*:vendor/*

View File

@@ -126,7 +126,8 @@ void Cache::rescan()
mINI::INIStructure ini; mINI::INIStructure ini;
ini_file.read(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<std::string> const mINI::INIMap<std::string> const
&section) { &section) {
auto const name = section.get("Name"); auto const name = section.get("Name");