forked from OSchip/llvm-project
NFC.
The patch fixes r321395, that cuased -Werror=unused-but-set-variable issue for Diagnosed var on prod build. From: Evgeny Stupachenko <evstupac@gmail.com> llvm-svn: 321854
This commit is contained in:
parent
33b89c5713
commit
bf25d67b8c
|
@ -10660,6 +10660,7 @@ void ASTReader::diagnoseOdrViolations() {
|
||||||
Diagnosed = true;
|
Diagnosed = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
(void)Diagnosed;
|
||||||
assert(Diagnosed && "Unable to emit ODR diagnostic.");
|
assert(Diagnosed && "Unable to emit ODR diagnostic.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue