* Removed the superfluous handOverPort variable I introduced earlier.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33748 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-10-23 15:08:47 +00:00
parent e9af5d4585
commit bd56fd8a4c
+1 -3
View File
@@ -2512,7 +2512,6 @@ install_team_debugger(team_id teamID, port_id debuggerPort,
bool releaseDebugInfoLock = true;
port_id oldDebuggerPort = -1;
port_id nubPort = -1;
bool handOverPort = false;
cpu_status state = disable_interrupts();
GRAB_TEAM_DEBUG_INFO_LOCK(team->debug_info);
@@ -2547,7 +2546,6 @@ install_team_debugger(team_id teamID, port_id debuggerPort,
releaseDebugInfoLock = false;
handOver = true;
done = true;
handOverPort = true;
}
} else {
// there's already a debugger installed
@@ -2568,7 +2566,7 @@ install_team_debugger(team_id teamID, port_id debuggerPort,
restore_interrupts(state);
if (handOverPort && set_port_owner(nubPort, debuggerTeam) != B_OK) {
if (handOver && set_port_owner(nubPort, debuggerTeam) != B_OK) {
// The old debugger must just have died. Just proceed as
// if there was no debugger installed. We may still be too
// early, in which case we'll fail, but this race condition