]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
refactor: Remove duplicated call to posix_spawn_file_actions_init (#1506)
authorJuan Manuel Martinez Caamaño <jmartinezcaamao@gmail.com>
Tue, 10 Sep 2024 19:10:05 +0000 (21:10 +0200)
committerGitHub <noreply@github.com>
Tue, 10 Sep 2024 19:10:05 +0000 (21:10 +0200)
src/ccache/hashutil.cpp

index b9e85a6a89c317d52cf4a625ea9efdffb51eff9c..4db8133c3ae8d507c5f7ea154276de66e9052876 100644 (file)
@@ -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);