remove redundant local variable
This commit is contained in:
parent
b257c881b5
commit
8a5538356b
@ -66,8 +66,7 @@ int PhantomNode::GetForwardWeightPlusOffset() const
|
|||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
const int result = (forward_offset + forward_weight);
|
return forward_offset + forward_weight;
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int PhantomNode::GetReverseWeightPlusOffset() const
|
int PhantomNode::GetReverseWeightPlusOffset() const
|
||||||
@ -76,8 +75,7 @@ int PhantomNode::GetReverseWeightPlusOffset() const
|
|||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
const int result = (reverse_offset + reverse_weight);
|
return reverse_offset + reverse_weight;
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PhantomNode::isBidirected() const
|
bool PhantomNode::isBidirected() const
|
||||||
|
Loading…
Reference in New Issue
Block a user