[libc-commits] [libc] c89db6a - [libc][obvious] Remove a spurious statement leftover from a previous change.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Thu Dec 22 22:52:27 PST 2022


Author: Siva Chandra Reddy
Date: 2022-12-23T06:50:28Z
New Revision: c89db6ad391b45e35b1f664530b57445811c55a3

URL: https://github.com/llvm/llvm-project/commit/c89db6ad391b45e35b1f664530b57445811c55a3
DIFF: https://github.com/llvm/llvm-project/commit/c89db6ad391b45e35b1f664530b57445811c55a3.diff

LOG: [libc][obvious] Remove a spurious statement leftover from a previous change.

Added: 
    

Modified: 
    libc/src/spawn/posix_spawn_file_actions_destroy.cpp

Removed: 
    


################################################################################
diff  --git a/libc/src/spawn/posix_spawn_file_actions_destroy.cpp b/libc/src/spawn/posix_spawn_file_actions_destroy.cpp
index b1ea50724b9a..7be531c67322 100644
--- a/libc/src/spawn/posix_spawn_file_actions_destroy.cpp
+++ b/libc/src/spawn/posix_spawn_file_actions_destroy.cpp
@@ -30,7 +30,6 @@ LLVM_LIBC_FUNCTION(int, posix_spawn_file_actions_destroy,
   if (act == nullptr)
     return 0;
 
-  act = act->next;
   while (act != nullptr) {
     auto *temp = act;
     act = act->next;


        


More information about the libc-commits mailing list