summaryrefslogtreecommitdiff
path: root/exceptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'exceptions.cpp')
-rw-r--r--exceptions.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/exceptions.cpp b/exceptions.cpp
index e57b8d09..4dcf01a2 100644
--- a/exceptions.cpp
+++ b/exceptions.cpp
@@ -32,11 +32,6 @@ BinaryNinja::ExceptionWithStackTrace::ExceptionWithStackTrace(const std::string&
if (stackTrace)
{
m_stackTrace = stackTrace;
- if (var)
- {
- m_message += "\n";
- m_message += stackTrace;
- }
BNFreeString(stackTrace);
}
}
@@ -97,11 +92,6 @@ BinaryNinja::ExceptionWithStackTrace::ExceptionWithStackTrace(std::exception_ptr
if (stackTrace)
{
m_stackTrace = stackTrace;
- if (var)
- {
- m_message += "\n";
- m_message += stackTrace;
- }
BNFreeString(stackTrace);
}
}