diff options
Diffstat (limited to 'src/H5Dfill.c')
-rw-r--r-- | src/H5Dfill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dfill.c b/src/H5Dfill.c index 2d52713..bfb4354 100644 --- a/src/H5Dfill.c +++ b/src/H5Dfill.c @@ -290,7 +290,7 @@ H5D_fill(const void *fill, const H5T_t *fill_type, void *buf, /* Convert disk buffer into memory buffer */ if(!H5T_path_noop(tpath)) { void *elem_ptr; /* Pointer to element to use for fill value */ - void *bkg_ptr; /* Pointer to background element to use for fill value */ + void *bkg_ptr = NULL; /* Pointer to background element to use for fill value */ /* Wrap the local buffer for elements */ if(NULL == (elem_wb = H5WB_wrap(elem_buf, sizeof(elem_buf)))) |