summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorumutbayramoglu <umut265@gmail.com>2020-12-03 13:34:48 +0000
committerMuhammet Kara <mrkara@users.noreply.github.com>2021-02-11 02:10:34 +0300
commitd08fda9749dc28f3a39f7fa37c4c817a601404af (patch)
treeda62dc331ab4b4077ffd3fe18512126dc971791c /scripts
parentFix build with libc++: std::min() parameters should be of the same type. (diff)
downloadonline-d08fda9749dc28f3a39f7fa37c4c817a601404af.tar.gz
online-d08fda9749dc28f3a39f7fa37c4c817a601404af.zip
Remove unused variables
Signed-off-by: umutbayramoglu <umut265@gmail.com> Change-Id: I7c2565a01605846201cb4a35564eb52b52491fe8
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/unocommands.py1
-rwxr-xr-xscripts/untranslated.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/scripts/unocommands.py b/scripts/unocommands.py
index 6614abb3fd..44a1494313 100755
--- a/scripts/unocommands.py
+++ b/scripts/unocommands.py
@@ -368,7 +368,6 @@ def parseUnocommandsJS(onlineDir):
f = open(onlineDir + '/loleaflet/src/unocommands.js', 'r',
encoding='utf-8')
- readingCommands = False
for line in f:
m = re.match(r"\t([^:]*):.*", line)
if m:
diff --git a/scripts/untranslated.py b/scripts/untranslated.py
index 03b2385754..2e4510f83e 100755
--- a/scripts/untranslated.py
+++ b/scripts/untranslated.py
@@ -45,7 +45,6 @@ def parseUnocommandsJS(onlineDir):
strings = {}
f = open(onlineDir + '/loleaflet/src/unocommands.js', 'r')
- readingCommands = False
for line in f:
line = line.decode('utf-8')
m = re.match(r"\t([^:]*):.*", line)