Commit 6b746696 authored by Rusty Russell's avatar Rusty Russell

pipecmd: fix -Wextra complaint about empty body.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent dfafd0a1
......@@ -123,8 +123,9 @@ pid_t pipecmdarr(int *fd_fromchild, int *fd_tochild, int *fd_errfromchild,
child_errno_fail:
err = errno;
/* Gcc's warn-unused-result fail. */
if (write(execfail[1], &err, sizeof(err)))
if (write(execfail[1], &err, sizeof(err))) {
;
}
exit(127);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment