Fix "use of" uninitialized memory in benchmark.

An argument to DoNotOptimize was not fully initialized, which caused
msan to complain.

llvm-svn: 346808
This commit is contained in:
Eric Fiselier 2018-11-13 23:00:55 +00:00
parent f8f12272e8
commit 9039b6012e

View File

@ -48,7 +48,7 @@ struct AllOpacity : EnumValuesAsTuple<AllOpacity, Opacity, 2> {
struct S {
int function() const { return 0; }
int field;
int field = 0;
};
int FunctionWithS(const S*) { return 0; }