File Fix-an-uninitialized-value-warning.patch of Package hdf5.34207
From: Jordan Henderson <jhenderson@hdfgroup.org>
Date: Fri Mar 29 12:53:36 2024 -0500
Subject: Fix an uninitialized value warning
Patch-mainline: Upstream
Git-repo: https://github.com/HDFGroup/hdf5
Git-commit: e2b7a0d588249a40a9a2c2ec15b7e8344fd6a960
References: bsc#1224158
Signed-off-by: Egbert Eich <eich@suse.de>
---
src/H5Dint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/H5Dint.c b/src/H5Dint.c
index 58ebbc3c74..32067ed437 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -1654,7 +1654,7 @@ static herr_t
H5D__open_oid(H5D_t *dataset, hid_t dapl_id)
{
H5P_genplist_t *plist; /* Property list */
- H5O_fill_t *fill_prop; /* Pointer to dataset's fill value info */
+ H5O_fill_t *fill_prop = NULL; /* Pointer to dataset's fill value info */
unsigned alloc_time_state; /* Allocation time state */
htri_t msg_exists; /* Whether a particular type of message exists */
hbool_t layout_init = FALSE; /* Flag to indicate that chunk information was initialized */