activa -Wextra -Wpedantic i neteja warnings
This commit is contained in:
@@ -50,7 +50,7 @@ namespace SystemShutdown {
|
||||
return shutdownSystem(config);
|
||||
}
|
||||
|
||||
auto shutdownSystem(const ShutdownConfig& config) -> ShutdownResult {
|
||||
auto shutdownSystem([[maybe_unused]] const ShutdownConfig& config) -> ShutdownResult {
|
||||
#ifdef _WIN32
|
||||
// Windows: Usar CreateProcess
|
||||
STARTUPINFOA si = {0};
|
||||
|
||||
Reference in New Issue
Block a user