From bbd05eb0c32a9614f012a1d9b75cef736a1d4150 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 2 Mar 2015 08:54:00 +0200 Subject: Clean up clang warnings --- build/process.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/process.cxx') diff --git a/build/process.cxx b/build/process.cxx index 09b8d36..f561000 100644 --- a/build/process.cxx +++ b/build/process.cxx @@ -79,7 +79,7 @@ namespace build { // Parent. Close the other ends of the pipes. // - if ((in && close (out_fd[0])) == -1 || + if ((in && close (out_fd[0]) == -1) || (err && close (in_efd[1]) == -1) || (out && close (in_ofd[1]) == -1)) throw process_error (errno, false); -- cgit v1.1