Codechange: Silence warnings about intentionally unused parameters.
This commit is contained in:
@@ -108,10 +108,9 @@ public:
|
||||
|
||||
/**
|
||||
* Setup the node to start iterating at.
|
||||
* @param source Unused.
|
||||
* @param node Node to start iterating at.
|
||||
*/
|
||||
void SetNode(NodeID source, NodeID node)
|
||||
void SetNode(NodeID, NodeID node)
|
||||
{
|
||||
this->i = this->job[node].edges.cbegin();
|
||||
this->end = this->job[node].edges.cend();
|
||||
@@ -197,7 +196,7 @@ public:
|
||||
* @return True if base + the new edge would be better than the path associated
|
||||
* with this annotation.
|
||||
*/
|
||||
bool DistanceAnnotation::IsBetter(const DistanceAnnotation *base, uint cap,
|
||||
bool DistanceAnnotation::IsBetter(const DistanceAnnotation *base, uint,
|
||||
int free_cap, uint dist) const
|
||||
{
|
||||
/* If any of the paths is disconnected, the other one is better. If both
|
||||
|
Reference in New Issue
Block a user