diff --git a/lldb/tools/debugserver/source/MacOSX/MachTask.cpp b/lldb/tools/debugserver/source/MacOSX/MachTask.cpp index 14a8fca9286e..2d82dac0a8e5 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachTask.cpp +++ b/lldb/tools/debugserver/source/MacOSX/MachTask.cpp @@ -424,7 +424,6 @@ MachTask::ShutDownExcecptionThread() err = ::mach_port_deallocate (task_self, exception_port); if (DNBLogCheckLogBit(LOG_TASK) || err.Fail()) err.LogThreaded("::mach_port_deallocate ( task = 0x%4.4x, name = 0x%4.4x )", task_self, exception_port); - exception_port = NULL; return err.Error(); }