summaryrefslogtreecommitdiffstats
path: root/src/H5Dvirtual.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-12-29 19:42:16 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-12-29 19:42:16 (GMT)
commitfa1ae9f312aad7fa51e01961ce255a4ce08539e0 (patch)
treeb0d977929fc78823eb59f1057c3a8e0518521512 /src/H5Dvirtual.c
parent9a477bef3a55718fbc886a70576f90c8329f7f12 (diff)
downloadhdf5-fa1ae9f312aad7fa51e01961ce255a4ce08539e0.zip
hdf5-fa1ae9f312aad7fa51e01961ce255a4ce08539e0.tar.gz
hdf5-fa1ae9f312aad7fa51e01961ce255a4ce08539e0.tar.bz2
HDFFV-9724 init var to null
Diffstat (limited to 'src/H5Dvirtual.c')
-rw-r--r--src/H5Dvirtual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dvirtual.c b/src/H5Dvirtual.c
index 24623e4..306fe62 100644
--- a/src/H5Dvirtual.c
+++ b/src/H5Dvirtual.c
@@ -812,7 +812,7 @@ H5D__virtual_open_file(hid_t plist_id, const H5F_t *vdset_file,
H5F_t *src_file = NULL; /* Source file */
H5F_t *ret_value = NULL; /* Actual return value */
char *full_name = NULL; /* File name with prefix */
- char *my_prefix; /* Library's copy of the prefix */
+ char *my_prefix = NULL; /* Library's copy of the prefix */
unsigned intent; /* File access permissions */
char *actual_file_name = NULL; /* Virtual file's actual name */
char *temp_file_name = NULL; /* Temporary pointer to file name */