JoshuaOloton opened a new pull request, #46234:
URL: https://github.com/apache/arrow/pull/46234

   ### Rationale for this change
   When building Arrow in Debug configuration with compilers that enforce 
-Wmissing-braces (e.g., Clang with -Werror enabled), an error occurs due to 
missing nested braces in the QueuedTask initialization. Adding the extra braces 
ensures compliance with strict compiler warnings and maintains successful 
builds across different platforms and configurations.
   
   ### What changes are included in this PR?
   - Added an extra pair of braces around the first three parameters used to 
initialize the QueuedTask structure in `thread_pool.cc`.
   
   ### Are these changes tested?
   Yes, the changes are covered by existing build and test processes. Building 
with -Werror enabled now succeeds without errors.
   
   ### Are there any user-facing changes?
   No
   
   - Fixes #46233 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to