Remove unused local variables (#10528)

Fixes 26 SAT UnusedLocalVariable findings

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2021-04-16 22:35:01 +02:00
committed by GitHub
parent 030329c118
commit b42101addc
20 changed files with 37 additions and 76 deletions

View File

@@ -254,7 +254,7 @@ public class KeContactTransceiver {
new Object[] { new String(theBuffer.array()),
theChannel.getLocalAddress(),
theChannel.getRemoteAddress() });
int byteswritten = theChannel.write(theBuffer);
theChannel.write(theBuffer);
} catch (NotYetConnectedException e) {
theHandler.updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.COMMUNICATION_ERROR,