Codechange: Silence warnings about intentionally unused parameters.
This commit is contained in:
@@ -28,7 +28,7 @@ public:
|
||||
* Called by YAPF to attach cached or local segment cost data to the given node.
|
||||
* @return true if globally cached data were used or false if local data was used
|
||||
*/
|
||||
inline bool PfNodeCacheFetch(Node &n)
|
||||
inline bool PfNodeCacheFetch(Node &)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -37,7 +37,7 @@ public:
|
||||
* Called by YAPF to flush the cached segment cost data back into cache storage.
|
||||
* Current cache implementation doesn't use that.
|
||||
*/
|
||||
inline void PfNodeCacheFlush(Node &n)
|
||||
inline void PfNodeCacheFlush(Node &)
|
||||
{
|
||||
}
|
||||
};
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
* Called by YAPF to flush the cached segment cost data back into cache storage.
|
||||
* Current cache implementation doesn't use that.
|
||||
*/
|
||||
inline void PfNodeCacheFlush(Node &n)
|
||||
inline void PfNodeCacheFlush(Node &)
|
||||
{
|
||||
}
|
||||
};
|
||||
@@ -101,7 +101,7 @@ struct CSegmentCostCacheBase
|
||||
{
|
||||
static int s_rail_change_counter;
|
||||
|
||||
static void NotifyTrackLayoutChange(TileIndex tile, Track track)
|
||||
static void NotifyTrackLayoutChange(TileIndex, Track)
|
||||
{
|
||||
s_rail_change_counter++;
|
||||
}
|
||||
@@ -213,7 +213,7 @@ public:
|
||||
* Called by YAPF to flush the cached segment cost data back into cache storage.
|
||||
* Current cache implementation doesn't use that.
|
||||
*/
|
||||
inline void PfNodeCacheFlush(Node &n)
|
||||
inline void PfNodeCacheFlush(Node &)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user