[-Wunused-variable] - mark window limit as potentially unused (only on Mac)

This commit is contained in:
Richard Cohen 2023-02-13 14:58:11 +00:00
parent 0aad569679
commit 1204083fdc

View File

@ -133,7 +133,7 @@ enum
extern gboolean gnc_book_options_dialog_apply_helper(GncOptionDB * options);
/** Max number of windows allowed */
constexpr auto gnc_main_window_max_number {10};
[[maybe_unused]] constexpr auto gnc_main_window_max_number {10};
/* Static Globals *******************************************************/