mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-11 06:56:12 +00:00
Fix gcc -Wunused-but-set-variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202800 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2bfe24c418
commit
4f6b2a26da
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user