summary refs log tree commit diff stats
path: root/compiler/nim.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2022-10-06 17:08:41 +0200
committerGitHub <noreply@github.com>2022-10-06 17:08:41 +0200
commit0d23419e681c4ce561ec43dc4a66a0ed40b8009e (patch)
tree338916e1b736bec24513e6a7ffd00983b9117cc4 /compiler/nim.nim
parente323b91a32ecff1473d9330605d85ad5f3684e99 (diff)
downloadNim-0d23419e681c4ce561ec43dc4a66a0ed40b8009e.tar.gz
DAA and 'out' parameters (#20506)
* DAA and 'out' parameters

* progress

* documented strictDefs and out parameters

* docs, tests and a bugfix

* fixes silly regression
Diffstat (limited to 'compiler/nim.nim')
-rw-r--r--compiler/nim.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nim.nim b/compiler/nim.nim
index b98a514d7..c2b70dda2 100644
--- a/compiler/nim.nim
+++ b/compiler/nim.nim
@@ -117,7 +117,7 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =
     case conf.cmd
     of cmdBackends, cmdTcc:
       let nimRunExe = getNimRunExe(conf)
-      var cmdPrefix: string
+      var cmdPrefix = ""
       if nimRunExe.len > 0: cmdPrefix.add nimRunExe.quoteShell
       case conf.backend
       of backendC, backendCpp, backendObjc: discard
ref='#n30'>30 31 32 33 34