diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-10-03 20:56:39 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-10-03 20:56:39 +0000 |
commit | 44d6d2c52632121b8e7661f21ecf28ac33898e65 (patch) | |
tree | 144a65a388f2a538f080d665e758e4966946331b /lldb/source/API/SBSourceManager.cpp | |
parent | 5dd3425b778657f6b8146f061f34d314f7dcbc66 (diff) | |
download | bcm5719-llvm-44d6d2c52632121b8e7661f21ecf28ac33898e65.tar.gz bcm5719-llvm-44d6d2c52632121b8e7661f21ecf28ac33898e65.zip |
Fix regression of test SourceManagerTestCase.test_display_source_python.
llvm-svn: 141021
Diffstat (limited to 'lldb/source/API/SBSourceManager.cpp')
-rw-r--r-- | lldb/source/API/SBSourceManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBSourceManager.cpp b/lldb/source/API/SBSourceManager.cpp index 64b8e543966..76f58b73c6d 100644 --- a/lldb/source/API/SBSourceManager.cpp +++ b/lldb/source/API/SBSourceManager.cpp @@ -51,7 +51,7 @@ namespace lldb_private const char* current_line_cstr, lldb_private::Stream *s) { - if (file) + if (!file) return 0; if (m_debugger_sp) |