[all-commits] [llvm/llvm-project] 1d3ea0: [ADT] Fix - gcc warning: buf may be used uninitial...
Arun Thangamani via All-commits
all-commits at lists.llvm.org
Mon Aug 3 17:13:16 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d3ea0f50c4bcfababe7929c913df500723dcf2f
https://github.com/llvm/llvm-project/commit/1d3ea0f50c4bcfababe7929c913df500723dcf2f
Author: Arun Thangamani <arun.thangamani at intel.com>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M llvm/include/llvm/ADT/Hashing.h
Log Message:
-----------
[ADT] Fix - gcc warning: buf may be used uninitialized [-Werror=maybe-uninitialized] (#213578)
When compiled with `gcc`, the uninitialized `buf` triggers a warning.
Since some external projects (e.g., `TPP-MLIR`) treat warnings as
errors, the build fails. This patch initializes `buf` to eliminate the
warning and prevent those build failures
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list