about summary refs log tree commit diff
path: root/llvm_mode/afl-llvm-lto-instrumentation.so.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-08-14 12:06:00 +0200
committervan Hauser <vh@thc.org>2020-08-14 12:06:00 +0200
commit5f0a9c90c83b2fc9cdd8bc583e9843c9bd9d9ecb (patch)
tree11201080d23e381e3770cedc6c57ce69b7f95961 /llvm_mode/afl-llvm-lto-instrumentation.so.cc
parent9ff9ff2ad2a8b4f66a64f47a3252d13803774cd2 (diff)
downloadafl++-5f0a9c90c83b2fc9cdd8bc583e9843c9bd9d9ecb.tar.gz
fixes lots of llvm warnings
Diffstat (limited to 'llvm_mode/afl-llvm-lto-instrumentation.so.cc')
-rw-r--r--llvm_mode/afl-llvm-lto-instrumentation.so.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_mode/afl-llvm-lto-instrumentation.so.cc b/llvm_mode/afl-llvm-lto-instrumentation.so.cc
index 13c4f775..a4caf77b 100644
--- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc
+++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc
@@ -596,7 +596,7 @@ bool AFLLTOPass::runOnModule(Module &M) {
       do {
 
         --i;
-        BasicBlock *              newBB;
+        BasicBlock *              newBB = NULL;
         BasicBlock *              origBB = &(*InsBlocks[i]);
         std::vector<BasicBlock *> Successors;
         Instruction *             TI = origBB->getTerminator();