From e7d11adf3c0c35240dcbf93be056cbf9f7cc9b11 Mon Sep 17 00:00:00 2001 From: Jonas Thelemann Date: Tue, 23 Apr 2019 19:36:12 +0200 Subject: [PATCH] gui: Remove unused variables (#5665) --- gui/default/syncthing/core/identiconDirective.js | 1 - gui/default/syncthing/core/localeService.js | 1 - 2 files changed, 2 deletions(-) diff --git a/gui/default/syncthing/core/identiconDirective.js b/gui/default/syncthing/core/identiconDirective.js index 1499810b7..ff91a9fba 100644 --- a/gui/default/syncthing/core/identiconDirective.js +++ b/gui/default/syncthing/core/identiconDirective.js @@ -23,7 +23,6 @@ angular.module('syncthing.core') svg.appendChild(rect); }; - var rect; var row; var col; var middleCol; diff --git a/gui/default/syncthing/core/localeService.js b/gui/default/syncthing/core/localeService.js index fca45dd5e..868f400a3 100644 --- a/gui/default/syncthing/core/localeService.js +++ b/gui/default/syncthing/core/localeService.js @@ -8,7 +8,6 @@ angular.module('syncthing.core') var uid = new Date(); var storage = window.localStorage; storage.setItem(uid, uid); - var success = storage.getItem(uid) == uid; storage.removeItem(uid); return storage; } catch (exception) {