summaryrefslogtreecommitdiffstats
path: root/src/H5Olink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Olink.c')
-rw-r--r--src/H5Olink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Olink.c b/src/H5Olink.c
index a11bf9a..175c937 100644
--- a/src/H5Olink.c
+++ b/src/H5Olink.c
@@ -119,7 +119,7 @@ H5O_link_decode(H5F_t *f, hid_t UNUSED dxpl_id, unsigned UNUSED mesg_flags,
const uint8_t *p)
{
H5O_link_t *lnk = NULL; /* Pointer to link message */
- size_t len; /* Length of a string in the message */
+ size_t len = 0; /* Length of a string in the message */
unsigned char link_flags; /* Flags for encoding link info */
void *ret_value; /* Return value */