Browse Source

Clang-tidy: readability-named-parameter

pull/2243/head
Anders Jenbo 5 years ago
parent
commit
7102724fda
  1. 2
      Source/scrollrt.cpp
  2. 2
      Source/storm/storm_net.cpp

2
Source/scrollrt.cpp

@ -550,7 +550,7 @@ static void DrawObject(const CelOutputBuffer &out, int x, int y, int ox, int oy,
}
}
static void scrollrt_draw_dungeon(const CelOutputBuffer &, int, int, int, int);
static void scrollrt_draw_dungeon(const CelOutputBuffer & /*out*/, int /*sx*/, int /*sy*/, int /*dx*/, int /*dy*/);
/**
* @brief Render a cell

2
Source/storm/storm_net.cpp

@ -208,7 +208,7 @@ bool SNetGetTurnsInTransit(DWORD *turns)
/**
* @brief engine calls this only once with argument 1
*/
bool SNetSetBasePlayer(int)
bool SNetSetBasePlayer(int /*unused*/)
{
#ifndef NONET
std::lock_guard<SdlMutex> lg(storm_net_mutex);

Loading…
Cancel
Save