llvm.org GIT mirror llvm / 4f6b2a2
Fix gcc -Wunused-but-set-variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202800 91177308-0d34-0410-b5e6-96231b3b80d8 Patrik Hagglund 6 years ago
1 changed file(s) with 0 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
124124 delete ZXECosts;
125125
126126 EdgeId YZEId = G.findEdge(YNId, ZNId);
127 bool AddedEdge = false;
128127
129128 if (YZEId == G.invalidEdgeId()) {
130129 YZEId = G.addEdge(YNId, ZNId, Delta);
131 AddedEdge = true;
132130 } else {
133131 const Matrix &YZECosts = G.getEdgeCosts(YZEId);
134132 if (YNId == G.getEdgeNode1Id(YZEId)) {