commit | 5956604941210ec6070dde444d3dc7a0094df045 | [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 | 6de930c4b9f08b52fe03394494df891aa91aa69e | |
parent | 15afa9f26a38ea55876ac4ee0b17f0ac8137e9c1 [diff] |
Fix regression of test SourceManagerTestCase.test_display_source_python. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141021 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBSourceManager.cpp b/source/API/SBSourceManager.cpp index 64b8e54..76f58b7 100644 --- a/source/API/SBSourceManager.cpp +++ b/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)