Skip to content

Commit 444c9c2

Browse files
committed
fix(pixelflut): Remove unused data variable
1 parent 075d6b0 commit 444c9c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/pixelflut/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@ export class Pixelflut {
5353
public createUDPConnection(): Promise<void> {
5454
return new Promise((resolve, reject) => {
5555
this.udpSocket = dgram.createSocket('udp4');
56-
let data: string;
5756

5857
this.udpSocket
59-
.on('data', bytes => (data += bytes.toString('utf8')))
6058
.on('error', error => {
6159
if (this.failed(error.message)) {
6260
reject(error);

0 commit comments

Comments
 (0)