summaryrefslogtreecommitdiffstats
path: root/test/vfd.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-05-03 00:25:57 (GMT)
committerGitHub <noreply@github.com>2022-05-03 00:25:57 (GMT)
commit08861aa903510e9f7ba89f79590f852e5aae1f37 (patch)
treef6ca17a30cc666e11d5a1792d1cc6b110093a9ca /test/vfd.c
parentdad94a100ed813aab7267f261a2abbfb7016a63f (diff)
downloadhdf5-08861aa903510e9f7ba89f79590f852e5aae1f37.zip
hdf5-08861aa903510e9f7ba89f79590f852e5aae1f37.tar.gz
hdf5-08861aa903510e9f7ba89f79590f852e5aae1f37.tar.bz2
Fixes unused/unset variable warnings from aocc (#1712)
* Fixes unused/unset variable warnings from aocc * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/vfd.c')
-rw-r--r--test/vfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd.c b/test/vfd.c
index b3bbf43..afe2dde 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -4564,7 +4564,7 @@ test_vector_io(const char *vfd_name)
char filename[1024]; /* filename */
char * buf; /* tmp ptr to buf */
unsigned flags = 0; /* file open flags */
- H5FD_t * lf; /* VFD struct ptr */
+ H5FD_t * lf = NULL; /* VFD struct ptr */
uint32_t i; /* index */
uint32_t j; /* index */
uint32_t count = VECTOR_LEN; /* length of vectors */
@@ -5118,7 +5118,7 @@ test_selection_io(const char *vfd_name)
hid_t fapl_id = -1; /* file access property list ID */
char filename[1024]; /* filename */
unsigned flags = 0; /* file open flags */
- H5FD_t * lf; /* VFD struct ptr */
+ H5FD_t * lf = NULL; /* VFD struct ptr */
int i; /* index */
int j; /* index */
int i2; /* index */