From 9098eae2334a6b770ff0b140fa3922163d4a4387 Mon Sep 17 00:00:00 2001 From: dkorpel Date: Thu, 17 Oct 2019 10:50:46 +0200 Subject: [PATCH] fix unreachable statement on Windows --- cgi.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi.d b/cgi.d index 0d5c2aa..6688fdc 100644 --- a/cgi.d +++ b/cgi.d @@ -5914,8 +5914,8 @@ final class ScheduledJobServerImplementation : ScheduledJobServer, EventIoServer throw new Exception("epoll_ctl " ~ to!string(errno)); jobs[nj] = job; + return nj; } else assert(0); - return nj; } protected void cancelJob(int jobId) {