summaryrefslogtreecommitdiffstats
path: root/src/H5Oalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Oalloc.c')
-rw-r--r--src/H5Oalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oalloc.c b/src/H5Oalloc.c
index d5f17e0..03eb956 100644
--- a/src/H5Oalloc.c
+++ b/src/H5Oalloc.c
@@ -724,7 +724,7 @@ H5O_alloc_new_chunk(H5F_t *f,
uint8_t *end_msg = curr_msg->raw + curr_msg->raw_size; /* End of current message */
size_t gap_size = 0; /* Size of gap after current message */
size_t null_size = 0; /* Size of NULL message after current message */
- unsigned null_msgno; /* Index of NULL message after current message */
+ unsigned null_msgno = 0; /* Index of NULL message after current message */
size_t total_size; /* Total size of available space "around" current message */
/* Check if the message is the last one in the chunk */