Add some [[maybe_unused]] tags for when asserts are disabled

This commit is contained in:
Jonathan G Rennison
2024-01-02 15:11:03 +00:00
parent 9ea49d6680
commit 8751bd2ba7
3 changed files with 3 additions and 3 deletions

View File

@@ -3430,7 +3430,7 @@ private:
* Show a drop down list using @p list_set, setting the pre-selected item to the one corresponding to @p value
* This asserts if @p value is not in @p list_set, and @p missing_ok is false
*/
void ShowCompanyDropDownListWithValue(CompanyID value, bool missing_ok, int button)
void ShowCompanyDropDownListWithValue(CompanyID value, [[maybe_unused]] bool missing_ok, int button)
{
DropDownList list;