summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Debugger/ProgramInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Debugger/ProgramInfo.cpp')
-rw-r--r--llvm/lib/Debugger/ProgramInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Debugger/ProgramInfo.cpp b/llvm/lib/Debugger/ProgramInfo.cpp
index 7e12cf80d6d..05ad4f7a8ba 100644
--- a/llvm/lib/Debugger/ProgramInfo.cpp
+++ b/llvm/lib/Debugger/ProgramInfo.cpp
@@ -61,7 +61,7 @@ static const GlobalVariable *getNextStopPoint(const Value *V, unsigned &LineNo,
// If we found a stop point, check to see if it is earlier than what we
// already have. If so, remember it.
- if (const Function *F = CI->getCalledFunction())
+ if (CI->getCalledFunction())
if (const DbgStopPointInst *SPI = dyn_cast<DbgStopPointInst>(CI)) {
unsigned CurLineNo = SPI->getLine();
unsigned CurColNo = SPI->getColumn();
OpenPOWER on IntegriCloud