mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-12 05:40:30 +00:00
Fix unused variable 'X' in release builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
624a11dc4f
commit
eacc53d67e
@ -253,9 +253,11 @@ void Fuzzer::WriteToOutputCorpus(const Unit &U) {
|
||||
WriteToFile(U, Path);
|
||||
if (Options.Verbosity >= 2)
|
||||
Printf("Written to %s\n", Path.c_str());
|
||||
#ifdef DEBUG
|
||||
if (Options.OnlyASCII)
|
||||
for (auto X : U)
|
||||
assert(isprint(X) || isspace(X));
|
||||
#endif
|
||||
}
|
||||
|
||||
void Fuzzer::WriteUnitToFileWithPrefix(const Unit &U, const char *Prefix) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user