Skip to content

Commit

Permalink
Fix a C warning with OCaml 4.02.3
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremie Dimino <[email protected]>
  • Loading branch information
jeremiedimino committed Apr 9, 2021
1 parent 555867a commit b5a25ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spawn_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit b5a25ca

Please sign in to comment.