remove outdated codes (#17140)
* remove unnecessary when statement * remove outdated codes
This commit is contained in:
parent
32bf10126c
commit
f26c25737c
2 changed files with 0 additions and 2 deletions
|
|
@ -300,7 +300,6 @@ proc raiseFormatException(s: string) =
|
|||
|
||||
proc getValue(t: StringTableRef, flags: set[FormatFlag], key: string): string =
|
||||
if hasKey(t, key): return t.getOrDefault(key)
|
||||
# hm difficult: assume safety in taint mode here. XXX This is dangerous!
|
||||
when defined(js) or defined(nimscript) or defined(Standalone):
|
||||
result = ""
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue