~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/logic/cmd_queue.cc

  • Committer: The Widelands Bunnybot
  • Date: 2022-02-27 18:58:23 UTC
  • Revision ID: bunnybot@widelands.org-20220227185823-tyvkc7z2dho9it5a
Fix misc clang-tidy checks in `logic` (#5255)

(by Noordfrees)
f48cadd044004aa7eb32d222927ec9b0ab744457

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
#else
143
143
                             EditorGameBase&,
144
144
#endif
145
 
                             MapObjectSaver&) {
 
145
                             MapObjectSaver& /* mos */) {
146
146
        fw.unsigned_16(kCurrentPacketVersion);
147
147
 
148
148
        // Write duetime
155
155
 *
156
156
 * \note This function must be called by deriving objects that override it.
157
157
 */
158
 
void GameLogicCommand::read(FileRead& fr, EditorGameBase& egbase, MapObjectLoader&) {
 
158
void GameLogicCommand::read(FileRead& fr, EditorGameBase& egbase, MapObjectLoader& /* mol */) {
159
159
        try {
160
160
                uint16_t const packet_version = fr.unsigned_16();
161
161
                if (packet_version == kCurrentPacketVersion) {