From f988120aabcf64227429e37c2c1f7e7704a9c616 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sun, 2 May 2010 20:02:38 +0000 Subject: Unbreak inline asm warning. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@102874 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/klee/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index 08c33cae..756ebb68 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -807,7 +807,7 @@ void externalsAndGlobalsCheck(const Module *m) { for (Function::const_iterator bbIt = fnIt->begin(), bb_ie = fnIt->end(); bbIt != bb_ie; ++bbIt) { for (BasicBlock::const_iterator it = bbIt->begin(), ie = bbIt->end(); - it != it; ++it) { + it != ie; ++it) { if (const CallInst *ci = dyn_cast(it)) { if (isa(ci->getCalledValue())) { klee_warning_once(&*fnIt, -- cgit 1.4.1