diff options
Diffstat (limited to 'src/server/forkserver.nim')
-rw-r--r-- | src/server/forkserver.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/forkserver.nim b/src/server/forkserver.nim index 5fedf484..3352b39d 100644 --- a/src/server/forkserver.nim +++ b/src/server/forkserver.nim @@ -81,7 +81,7 @@ proc trapSIGINT() = setControlCHook(proc() {.noconv.} = discard) proc forkLoader(ctx: var ForkServerContext; config: LoaderConfig): int = - var pipefd: array[2, cint] + var pipefd {.noinit.}: array[2, cint] if pipe(pipefd) == -1: raise newException(Defect, "Failed to open pipe.") stdout.flushFile() @@ -127,7 +127,7 @@ proc forkBuffer(ctx: var ForkServerContext; r: var BufferedReader): int = r.sread(attrs) r.sread(ishtml) r.sread(charsetStack) - var pipefd: array[2, cint] + var pipefd {.noinit.}: array[2, cint] if pipe(pipefd) == -1: raise newException(Defect, "Failed to open pipe.") stdout.flushFile() |