From 8257a7ff19f4798b1c753929b560bb53cbf03ab0 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Mon, 11 May 2020 02:51:44 +0200 Subject: [PATCH] Remove dead variables. --- static/sfu.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/static/sfu.js b/static/sfu.js index f0d0297..da37a4a 100644 --- a/static/sfu.js +++ b/static/sfu.js @@ -19,7 +19,6 @@ let permissions = {}; function toHex(array) { let a = new Uint8Array(array); - let s = ''; function hex(x) { let h = x.toString(16); if(h.length < 2) @@ -94,7 +93,6 @@ function getUsername() { function setConnected(connected) { let statspan = document.getElementById('statspan'); let userform = document.getElementById('userform'); - let diconnect = document.getElementById('disconnectbutton'); if(connected) { clearError(); statspan.textContent = 'Connected';