Fix gcc -Wunused-but-set-variable warning.

llvm-svn: 202800
This commit is contained in:
Patrik Hagglund 2014-03-04 08:55:18 +00:00
parent 618bd1b75b
commit 29a76ac646
1 changed files with 0 additions and 2 deletions

View File

@ -125,11 +125,9 @@ namespace PBQP {
delete ZXECosts;
EdgeId YZEId = G.findEdge(YNId, ZNId);
bool AddedEdge = false;
if (YZEId == G.invalidEdgeId()) {
YZEId = G.addEdge(YNId, ZNId, Delta);
AddedEdge = true;
} else {
const Matrix &YZECosts = G.getEdgeCosts(YZEId);
if (YNId == G.getEdgeNode1Id(YZEId)) {