From 32b419c8684f1d2ffe8c176f8d64dac5218b868c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Sun, 3 Jun 2018 23:20:58 +0200 Subject: [PATCH] Mark set_format_arg_body as maybe_unused --- src/openrct2/localisation/Localisation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/localisation/Localisation.h b/src/openrct2/localisation/Localisation.h index 7ec140d222..70eb7adb48 100644 --- a/src/openrct2/localisation/Localisation.h +++ b/src/openrct2/localisation/Localisation.h @@ -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); }