mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 00:25:01 +00:00
Silence the compiler warning differently. The
original method caused gcc-4.2 to complain. llvm-svn: 51186
This commit is contained in:
parent
2ad66b343d
commit
a018f1f47e
@ -1317,7 +1317,7 @@ namespace {
|
||||
void remove(SUnit *SU) {
|
||||
assert(!Queue.empty() && "Queue is empty!");
|
||||
size_t RemovedNum = Queue.erase(SU);
|
||||
RemovedNum; // Silence compiler warning.
|
||||
RemovedNum = RemovedNum; // Silence compiler warning.
|
||||
assert(RemovedNum > 0 && "Not in queue!");
|
||||
assert(RemovedNum == 1 && "Multiple times in the queue!");
|
||||
SU->NodeQueueId = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user