If a callstack is valid but no resolver is found, return one empty entry

* This is a complete hack really but it signifies this status to the UI.
This commit is contained in:
baldurk
2017-05-19 15:56:49 +01:00
parent 24f2c460f5
commit 57831f1926
+4
View File
@@ -315,7 +315,11 @@ rdctype::array<rdctype::str> ReplayController::GetResolve(const rdctype::array<u
Callstack::StackResolver *resolv = m_pDevice->GetCallstackResolver();
if(resolv == NULL)
{
create_array_uninit(ret, 1);
ret[0] = "";
return ret;
}
create_array_uninit(ret, (size_t)callstack.count);
for(int32_t i = 0; i < callstack.count; i++)