Removed unused variable and returned `true`.

This commit is contained in:
Tristan B. Kildaire 2020-05-14 00:24:27 +02:00
parent 4442c62ae7
commit a9ee569314
1 changed files with 1 additions and 6 deletions

View File

@ -155,11 +155,6 @@ public final class BesterConnection : Thread
*/
private bool dispatchMessage(Scope scopeField, JSONValue payloadBlock)
{
/* Status of dispatch */
bool dispatchStatus = true;
/* TODO: Bounds checking, type checking */
/* The payload type */
string payloadType;
@ -311,7 +306,7 @@ public final class BesterConnection : Thread
sendErrorReport(payloadTag);
}
return dispatchStatus;
return true;
}
/* Send an error report */