Mark set_format_arg_body as maybe_unused

This commit is contained in:
Michał Janiszewski authored and GitHub committed 2018-06-03 23:20:58 +02:00
1 parent 949321762b
commit 32b419c868
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}