diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-02 05:34:19 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-02 05:34:19 +0000 |
commit | 89038a107126107e6cc7594fdd617a66f87a7b61 (patch) | |
tree | 682dc45a14b9d7265b72acb349087320194ddd5a /llvm/lib/Transforms | |
parent | 5921a3ae6649e87802fb8c74e5903beeee251285 (diff) | |
download | bcm5719-llvm-89038a107126107e6cc7594fdd617a66f87a7b61.tar.gz bcm5719-llvm-89038a107126107e6cc7594fdd617a66f87a7b61.zip |
Fix "warning: variabl 'XX’ set but not used" in release build (variable used in assertion, NFC)
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 265220
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Utils/MemorySSA.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/MemorySSA.cpp b/llvm/lib/Transforms/Utils/MemorySSA.cpp index 1ce8970c78e..e5f02be9655 100644 --- a/llvm/lib/Transforms/Utils/MemorySSA.cpp +++ b/llvm/lib/Transforms/Utils/MemorySSA.cpp @@ -540,7 +540,7 @@ void MemorySSA::verifyDomination(Function &F) const { continue; for (User *U : MD->users()) { - BasicBlock *UseBlock; + BasicBlock *UseBlock; (void)UseBlock; // Things are allowed to flow to phi nodes over their predecessor edge. if (auto *P = dyn_cast<MemoryPhi>(U)) { for (const auto &Arg : P->operands()) { |