From b5a25cab2f53a5ee9e10a7b8a96506cc61ce1198 Mon Sep 17 00:00:00 2001 From: Jeremie Dimino Date: Fri, 9 Apr 2021 14:40:21 +0100 Subject: [PATCH] Fix a C warning with OCaml 4.02.3 Signed-off-by: Jeremie Dimino --- src/spawn_stubs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spawn_stubs.c b/src/spawn_stubs.c index 2736465..aebe124 100644 --- a/src/spawn_stubs.c +++ b/src/spawn_stubs.c @@ -178,6 +178,7 @@ static void subprocess_failure(int failure_fd, We only store the result of [write] to avoid a warning. */ written = write(failure_fd, &failure, sizeof(failure)); + (void)written; _exit(127); }