Codechange: Silence warnings about intentionally unused parameters.

This commit is contained in:
frosch
2023-09-16 22:20:53 +02:00
committed by frosch
parent df400ef84a
commit b6c8f301be
227 changed files with 972 additions and 1039 deletions

View File

@@ -197,7 +197,7 @@ protected:
uint16_t max_entities; ///< what is the amount of entities, old and new summed
uint16_t invalid_id; ///< ID used to detected invalid entities
virtual bool CheckValidNewID(uint16_t testid) { return true; }
virtual bool CheckValidNewID([[maybe_unused]] uint16_t testid) { return true; }
public:
std::vector<EntityIDMapping> mappings; ///< mapping of ids from grf files. Public out of convenience