about summary refs log tree commit diff stats
path: root/adapter/format/gopher2html.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-01-14 18:24:10 +0100
committerbptato <nincsnevem662@gmail.com>2025-01-14 18:24:10 +0100
commit1abc51cccbe62a4f0e7e13eeb51cfa3aaa9aa542 (patch)
tree59686fb57f67ba065f29799769f460e60319e3bb /adapter/format/gopher2html.nim
parentea9d594d196e2e24977f454f1fd5b07dddbf7f87 (diff)
downloadchawan-1abc51cccbe62a4f0e7e13eeb51cfa3aaa9aa542.tar.gz
More strict defs
Diffstat (limited to 'adapter/format/gopher2html.nim')
-rw-r--r--adapter/format/gopher2html.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/format/gopher2html.nim b/adapter/format/gopher2html.nim
index 21bfdf2e..fba8e521 100644
--- a/adapter/format/gopher2html.nim
+++ b/adapter/format/gopher2html.nim
@@ -29,7 +29,7 @@ proc main() =
 <title>Index of """ & url & """</title>
 <h1>Index of """ & url & """</h1>""")
   var ispre = false
-  var line: string
+  var line = ""
   while stdin.readLine(line):
     if line.len == 0:
       continue