Don't return a reference to a temp variable.

llvm-svn: 233940
This commit is contained in:
Greg Clayton
2015-04-02 20:17:08 +00:00
parent 4a2e73b066
commit ff0cf4f56d

View File

@@ -2041,9 +2041,6 @@ Process::UnloadImage (uint32_t image_token)
const lldb::ABISP &
Process::GetABI()
{
if (m_finalizing)
return lldb::ABISP();
if (!m_abi_sp)
m_abi_sp = ABI::FindPlugin(m_target.GetArchitecture());
return m_abi_sp;