#32 Fixed issues remarked by scrutinizer-ci

* unused variable
* explicit unedfined assignments
This commit is contained in:
Serraniel 2020-11-08 13:18:41 +01:00
parent 10e584bfa9
commit 483ea7f96e
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3
2 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ class StorageProviderFirefox {
}
}
let __storageProvieder = undefined;
let __storageProvieder;
function createStorageProvider() {
// chrome based browser

View file

@ -25,7 +25,7 @@ class Configuration {
}
else {
// OOOPS // currently all settings are default true. This isn´t a problem but there should be much better soloutions after migration to typescript....
let value = getGlobalStorageProvider().getData(key, true, value => {
getGlobalStorageProvider().getData(key, true, value => {
this.settingsCache.set(key, value);
callback(value);
});
@ -33,7 +33,7 @@ class Configuration {
}
}
let __globalConfig = undefined;
let __globalConfig;
export function getGlobalConfiguration() {
if (!assigned(__globalConfig)) {