summary refs log tree commit diff stats
path: root/tools/vccenv/vccenv.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-08-13 15:42:20 +0200
committerAraq <rumpf_a@web.de>2018-08-13 15:42:20 +0200
commit46204eba1f2eb1840b6543958c9a5306f707b3d6 (patch)
treed14472f88aea1c77a44baf6272178727de8b9b41 /tools/vccenv/vccenv.nim
parent975114e114c53601287393359c0d823b2c53a315 (diff)
downloadNim-46204eba1f2eb1840b6543958c9a5306f707b3d6.tar.gz
make the vccexe helper tool compile again
Diffstat (limited to 'tools/vccenv/vccenv.nim')
-rw-r--r--tools/vccenv/vccenv.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vccenv/vccenv.nim b/tools/vccenv/vccenv.nim
index a335efd10..a5af7994e 100644
--- a/tools/vccenv/vccenv.nim
+++ b/tools/vccenv/vccenv.nim
@@ -19,7 +19,7 @@ proc getVsComnToolsPath*(): TaintedString =
       return vsComnToolsEnvVal
 
 proc getVccEnv*(platform: string, windowsStoreSdk: bool = false,
-                sdkVersion: string = nil): StringTableRef =
+                sdkVersion: string = ""): StringTableRef =
   var comSpecCommandString = getEnv comSpecEnvKey
   if comSpecCommandString.len == 0:
     comSpecCommandString = "cmd"