mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +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:
@@ -107,7 +107,7 @@ static bool RegisterCrashPrinter() {
|
||||
PrettyStackTraceEntry::PrettyStackTraceEntry() {
|
||||
// The first time this is called, we register the crash printer.
|
||||
static bool HandlerRegistered = RegisterCrashPrinter();
|
||||
HandlerRegistered = HandlerRegistered;
|
||||
(void)HandlerRegistered;
|
||||
|
||||
// Link ourselves.
|
||||
NextEntry = PrettyStackTraceHead.get();
|
||||
@@ -131,4 +131,3 @@ void PrettyStackTraceProgram::print(raw_ostream &OS) const {
|
||||
OS << ArgV[i] << ' ';
|
||||
OS << '\n';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user