Skip to content

Commit 458f84a

Browse files
author
nitrocaster
committed
Eliminate some 'unreferenced argument' warnings.
1 parent dae8c68 commit 458f84a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/xrAICore/Navigation/data_storage_bucket_list_inline.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ inline void CBucketList::add_opened(Vertex &vertex)
217217
}
218218

219219
TEMPLATE_SPECIALIZATION
220-
inline void CBucketList::decrease_opened(Vertex &vertex, const Distance value)
220+
inline void CBucketList::decrease_opened(Vertex &vertex, const Distance /*value*/)
221221
{
222222
VERIFY(!is_opened_empty());
223223
u32 node_bucket_id = compute_bucket_id(vertex);

src/xrAICore/Navigation/vertex_path_inline.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#define CVertexPathBuilder CVertexPath<EuclidianHeuristics>::CDataStorage<TCompoundVertex>
1616

1717
TEMPLATE_SPECIALIZATION
18-
inline CVertexPathBuilder::CDataStorage(const u32 vertex_count)
18+
inline CVertexPathBuilder::CDataStorage(const u32 /*vertex_count*/)
1919
{}
2020

2121
TEMPLATE_SPECIALIZATION
@@ -36,19 +36,19 @@ inline void CVertexPathBuilder::assign_parent(Vertex &neighbour, Vertex *parent,
3636
{ assign_parent(neighbour, parent); }
3737

3838
TEMPLATE_SPECIALIZATION
39-
inline void CVertexPathBuilder::update_successors(Vertex &tpNeighbour)
39+
inline void CVertexPathBuilder::update_successors(Vertex &/*tpNeighbour*/)
4040
{ NODEFAULT; }
4141

4242
TEMPLATE_SPECIALIZATION
4343
inline void CVertexPathBuilder::get_node_path(xr_vector<Index> &path, Vertex *best)
4444
{
4545
Vertex *t1 = best, *t2 = best->back();
46-
for (u32 i = 1; t2; t1 = t2, t2 = t2->back(), i++);
47-
path.resize(i);
46+
for (u32 i = 1; t2; t1 = t2, t2 = t2->back(), i++);
47+
path.resize(i);
4848
t1 = best;
4949
path[--i] = best->index();
50-
t2 = t1->back();
51-
auto it = path.rbegin();
50+
t2 = t1->back();
51+
auto it = path.rbegin();
5252
for (it++; t2; t2 = t2->back(), it++)
5353
*it = t2->index();
5454
}

0 commit comments

Comments
 (0)