forked from OSchip/llvm-project
[OpenMP] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off build after D109635
This commit is contained in:
parent
88cb3e2cb6
commit
45a8608d7b
|
@ -739,6 +739,7 @@ public:
|
|||
for (llvm::omp::TraitProperty Trait : llvm::reverse(Traits)) {
|
||||
llvm::omp::TraitProperty Top = ConstructTraits.pop_back_val();
|
||||
assert(Top == Trait && "Something left a trait on the stack!");
|
||||
(void)Trait;
|
||||
(void)Top;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue