Skip to content

Commit

Permalink
[-Wunused-variable] - mark window limit as potentially unused (only o…
Browse files Browse the repository at this point in the history
…n Mac)
  • Loading branch information
richardcohen committed Feb 16, 2023
1 parent 0aad569 commit 1204083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnucash/gnome-utils/gnc-main-window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 *******************************************************/

Expand Down

0 comments on commit 1204083

Please sign in to comment.