diff --git a/src/applib/examples/example_smartctl_executor.cpp b/src/applib/examples/example_smartctl_executor.cpp index 14f2e6a..6314d4d 100644 --- a/src/applib/examples/example_smartctl_executor.cpp +++ b/src/applib/examples/example_smartctl_executor.cpp @@ -14,7 +14,6 @@ Copyright: #include "local_glibmm.h" #include -#include // to avoid throw() macro errors. #include #include "hz/main_tools.h" diff --git a/src/applib/storage_detector_other.cpp b/src/applib/storage_detector_other.cpp index f4d153e..017e930 100644 --- a/src/applib/storage_detector_other.cpp +++ b/src/applib/storage_detector_other.cpp @@ -29,7 +29,8 @@ Copyright: -std::string detect_drives_other(std::vector& drives, const ExecutorFactoryPtr& ex_factory) +std::string detect_drives_other(std::vector& drives, + [[maybe_unused]] const ExecutorFactoryPtr& ex_factory) { debug_out_info("app", DBG_FUNC_MSG << "Detecting drives through /dev...\n");