🧹 gucc: remove unused argument in tests

This commit is contained in:
Vladislav Nepogodin 2024-07-05 02:45:52 +04:00
parent 828bd8bec0
commit 60c052ea48
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ luks-6bdb3301-8efb-4b84-b0b7-4caeef26fd6f UUID=6bdb3301-8efb-4b84-b0b7-4caeef26f
)"sv; )"sv;
int main() { int main() {
auto callback_sink = std::make_shared<spdlog::sinks::callback_sink_mt>([](const spdlog::details::log_msg& msg) { auto callback_sink = std::make_shared<spdlog::sinks::callback_sink_mt>([](const spdlog::details::log_msg&) {
// noop // noop
}); });
spdlog::set_default_logger(std::make_shared<spdlog::logger>("default", callback_sink)); spdlog::set_default_logger(std::make_shared<spdlog::logger>("default", callback_sink));

View File

@ -82,7 +82,7 @@ UUID=8EFB-4B84 /boot vfat defaults,noatim
)"sv; )"sv;
int main() { int main() {
auto callback_sink = std::make_shared<spdlog::sinks::callback_sink_mt>([](const spdlog::details::log_msg& msg) { auto callback_sink = std::make_shared<spdlog::sinks::callback_sink_mt>([](const spdlog::details::log_msg&) {
// noop // noop
}); });
spdlog::set_default_logger(std::make_shared<spdlog::logger>("default", callback_sink)); spdlog::set_default_logger(std::make_shared<spdlog::logger>("default", callback_sink));

View File

@ -134,7 +134,7 @@ inline auto filtered_res(std::string_view content) noexcept -> std::string {
} }
int main() { int main() {
auto callback_sink = std::make_shared<spdlog::sinks::callback_sink_mt>([](const spdlog::details::log_msg& msg) { auto callback_sink = std::make_shared<spdlog::sinks::callback_sink_mt>([](const spdlog::details::log_msg&) {
// noop // noop
}); });
spdlog::set_default_logger(std::make_shared<spdlog::logger>("default", callback_sink)); spdlog::set_default_logger(std::make_shared<spdlog::logger>("default", callback_sink));