commit | 44d6d2c52632121b8e7661f21ecf28ac33898e65 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Mon Oct 03 20:56:39 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Mon Oct 03 20:56:39 2011 +0000 |
tree | 144a65a388f2a538f080d665e758e4966946331b | |
parent | 5dd3425b778657f6b8146f061f34d314f7dcbc66 [diff] [blame] |
Fix regression of test SourceManagerTestCase.test_display_source_python. llvm-svn: 141021
diff --git a/lldb/source/API/SBSourceManager.cpp b/lldb/source/API/SBSourceManager.cpp index 64b8e54..76f58b7 100644 --- a/lldb/source/API/SBSourceManager.cpp +++ b/lldb/source/API/SBSourceManager.cpp
@@ -51,7 +51,7 @@ const char* current_line_cstr, lldb_private::Stream *s) { - if (file) + if (!file) return 0; if (m_debugger_sp)