mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-07 21:50:08 +01:00
Global: replaces __attribute__ to C23 [[attribute]]
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include "common/debug.h"
|
||||
|
||||
// Helper function to convert ADL status code to string
|
||||
FF_A_UNUSED static const char* ffAdlStatusToString(int status) {
|
||||
[[maybe_unused]] static const char* ffAdlStatusToString(int status) {
|
||||
switch (status) {
|
||||
#define FF_ADL_STATUS_CASE(name) \
|
||||
case name: \
|
||||
|
||||
Reference in New Issue
Block a user