mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Mark set_format_arg_body as maybe_unused
This commit is contained in:
committed by
GitHub
parent
949321762b
commit
32b419c868
@@ -84,7 +84,7 @@ extern const rct_string_id DateDayNames[31];
|
||||
extern const rct_string_id DateGameMonthNames[MONTH_COUNT];
|
||||
extern const rct_string_id DateGameShortMonthNames[MONTH_COUNT];
|
||||
|
||||
static inline void set_format_arg_body(uint8 *args, size_t offset, uintptr_t value, size_t size)
|
||||
[[maybe_unused]] static inline void set_format_arg_body(uint8 *args, size_t offset, uintptr_t value, size_t size)
|
||||
{
|
||||
memcpy(args + offset, &value, size);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user