summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 195819e..21dbb96 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -247,7 +247,7 @@ h5_fixname(const char *base_name, hid_t fapl, char *fullname, size_t size)
const char *suffix = ".h5"; /* suffix has default */
char *ptr, last = '\0';
size_t i, j;
- hid_t driver;
+ hid_t driver=(-1);
if (!base_name || !fullname || size < 1)
return NULL;