Skip to content
Snippets Groups Projects
Commit 436cb682 authored by Per Hedbor's avatar Per Hedbor
Browse files

Removed some duplicated local variables

Rev: lib/modules/Remote.pmod/connection.pike:1.17
parent 35250d0a
No related branches found
No related tags found
No related merge requests found
...@@ -249,6 +249,7 @@ int request_size = 0; ...@@ -249,6 +249,7 @@ int request_size = 0;
void provide_result(int refno, mixed result) void provide_result(int refno, mixed result)
{ {
finished_calls[ refno ] = result;
// if (functionp(pending_calls[refno])) // if (functionp(pending_calls[refno]))
// { // {
// DEBUGMSG("calling completion function for request "+refno+"\n"); // DEBUGMSG("calling completion function for request "+refno+"\n");
...@@ -256,7 +257,6 @@ void provide_result(int refno, mixed result) ...@@ -256,7 +257,6 @@ void provide_result(int refno, mixed result)
// } // }
// else // else
// { // {
finished_calls[refno] = result;
// m_delete(pending_calls, refno); // m_delete(pending_calls, refno);
// } // }
} }
...@@ -308,7 +308,7 @@ void do_call (array data) ...@@ -308,7 +308,7 @@ void do_call (array data)
break; break;
case CTX_CALL_ASYNC: // an asynchronous call case CTX_CALL_ASYNC: // an asynchronous call
mixed e = catch { f(@args); }; e = catch { f(@args); };
if (e) { if (e) {
catch (e[1] = e[1][sizeof(backtrace())-1..]); catch (e[1] = e[1][sizeof(backtrace())-1..]);
return_error(refno, e); return_error(refno, e);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment