mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-01 10:32:35 +01:00
Global: replaces __attribute__ to C23 [[attribute]]
This commit is contained in:
@@ -105,12 +105,12 @@ static void resetConsole(void) {
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
BOOL WINAPI consoleHandler(FF_A_UNUSED DWORD signal) {
|
||||
BOOL WINAPI consoleHandler([[maybe_unused]] DWORD signal) {
|
||||
resetConsole();
|
||||
exit(0);
|
||||
}
|
||||
#else
|
||||
static void exitSignalHandler(FF_A_UNUSED int signal) {
|
||||
static void exitSignalHandler([[maybe_unused]] int signal) {
|
||||
resetConsole();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user