summaryrefslogtreecommitdiffstats
path: root/hl/src/H5IM.c
diff options
context:
space:
mode:
Diffstat (limited to 'hl/src/H5IM.c')
-rw-r--r--hl/src/H5IM.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hl/src/H5IM.c b/hl/src/H5IM.c
index ac90cf2..d760675 100644
--- a/hl/src/H5IM.c
+++ b/hl/src/H5IM.c
@@ -49,7 +49,6 @@ herr_t H5IMmake_image_8bit( hid_t loc_id,
/* Initialize the image dimensions */
dims[0] = height;
dims[1] = width;
- dims[2] = 1;
/* Make the dataset */
if ( H5LTmake_dataset( loc_id, dset_name, IMAGE8_RANK, dims, H5T_NATIVE_UCHAR, buffer ) < 0)