From: Juan Manuel Martinez CaamaƱo Date: Tue, 10 Sep 2024 19:10:05 +0000 (+0200) Subject: refactor: Remove duplicated call to posix_spawn_file_actions_init (#1506) X-Git-Tag: v4.11~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5e799a6c4d640bac655e8710e211c85ac475c75;p=thirdparty%2Fccache.git refactor: Remove duplicated call to posix_spawn_file_actions_init (#1506) --- diff --git a/src/ccache/hashutil.cpp b/src/ccache/hashutil.cpp index b9e85a6a..4db8133c 100644 --- a/src/ccache/hashutil.cpp +++ b/src/ccache/hashutil.cpp @@ -452,7 +452,6 @@ hash_command_output(Hash& hash, posix_spawn_file_actions_t fa; - CHECK_LIB_CALL(posix_spawn_file_actions_init, &fa); CHECK_LIB_CALL(posix_spawn_file_actions_init, &fa); CHECK_LIB_CALL(posix_spawn_file_actions_addclose, &fa, pipefd[0]); CHECK_LIB_CALL(posix_spawn_file_actions_addclose, &fa, 0);