mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Change all self assignments X=X to (void)X, so that we can turn on a
new gcc warning that complains on self-assignments and self-initializations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122458 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -100,7 +100,7 @@ static void RemoveFromReverseMap(DenseMap<Instruction*,
|
||||
InstIt = ReverseMap.find(Inst);
|
||||
assert(InstIt != ReverseMap.end() && "Reverse map out of sync?");
|
||||
bool Found = InstIt->second.erase(Val);
|
||||
assert(Found && "Invalid reverse map!"); Found=Found;
|
||||
assert(Found && "Invalid reverse map!"); (void)Found;
|
||||
if (InstIt->second.empty())
|
||||
ReverseMap.erase(InstIt);
|
||||
}
|
||||
|
Reference in New Issue
Block a user