summaryrefslogtreecommitdiffstats
path: root/test/set_extent.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/set_extent.c')
-rw-r--r--test/set_extent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/set_extent.c b/test/set_extent.c
index 2d0c85f..7a2a9e5 100644
--- a/test/set_extent.c
+++ b/test/set_extent.c
@@ -28,9 +28,9 @@ int main( void )
{
hid_t file_id;
- hid_t dataset_id;
- hid_t space_id;
- hid_t plist_id;
+ hid_t dataset_id=(-1);
+ hid_t space_id=(-1);
+ hid_t plist_id=(-1);
hsize_t dims[RANK] = { 90, 90 };
hsize_t dims_new[RANK] = { 70, 70 };
hsize_t dims_chunk[RANK] = { 20, 20 };