this commit will fix visual studio family warning #4459

This commit is contained in:
andri lim
2016-07-29 14:01:48 +07:00
parent 99f5ed8c53
commit c4904e17de

View File

@@ -143,7 +143,7 @@ proc genTraverseProcForGlobal(m: BModule, s: PSym): Rope =
c.visitorFrmt = "#nimGCvisit((void*)$1, 0);$n"
c.p = p
let header = "N_NIMCALL(void, $1)()" % [result]
let header = "N_NIMCALL(void, $1)(void)" % [result]
genTraverseProc(c, sLoc, s.loc.t)
let generatedProc = "$1 {$n$2$3$4}$n" %