[libc-commits] [libc] [libc][pthread] fix	-Wmissing-field-initializers (PR #126314)
    Nick Desaulniers via libc-commits 
    libc-commits at lists.llvm.org
       
    Mon Feb 10 09:53:36 PST 2025
    
    
  
================
@@ -186,6 +186,10 @@ void multiple_waiters() {
   LIBC_NAMESPACE::pthread_mutex_destroy(&counter_lock);
 }
 
+// Test the initializer
+[[gnu::unused]]
----------------
nickdesaulniers wrote:
good catch! I always forget that that one got standardized.
bfc84ca4ff1e
https://github.com/llvm/llvm-project/pull/126314
    
    
More information about the libc-commits
mailing list