summaryrefslogtreecommitdiffstats
path: root/src/H5Dseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Dseq.c')
-rw-r--r--src/H5Dseq.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/H5Dseq.c b/src/H5Dseq.c
index c6e29a1..3868202 100644
--- a/src/H5Dseq.c
+++ b/src/H5Dseq.c
@@ -179,8 +179,6 @@ H5F_seq_read(H5F_t *f, hid_t dxpl_id, const struct H5O_layout_t *layout,
case H5D_CHUNKED:
{
- uintn leading_partials; /* Flag set if there are leading partial hyperslabs to take care of */
-
/*
* This method is unable to access external raw data files
*/
@@ -227,12 +225,9 @@ printf("%s: acc=%ld, down_size[%d]=%ld\n",FUNC,(long)acc,i,(long)down_size[i]);
} /* end for */
/* Compute the hyperslab offset from the address given */
- leading_partials=0;
for(i=ndims-1; i>=0; i--) {
coords[i]=addr%dset_dims[i];
addr/=dset_dims[i];
- if(i>0 && coords[i]>0)
- leading_partials=1;
#ifdef QAK
printf("%s: addr=%lu, coords[%d]=%ld\n",FUNC,(unsigned long)addr,i,(long)coords[i]);
#endif /* QAK */
@@ -240,7 +235,6 @@ printf("%s: addr=%lu, coords[%d]=%ld\n",FUNC,(unsigned long)addr,i,(long)coords[
coords[ndims]=0; /* No offset for element info */
#ifdef QAK
printf("%s: addr=%lu, coords[%d]=%ld\n",FUNC,(unsigned long)addr,ndims,(long)coords[ndims]);
-printf("%s: leading_partials=%u\n",FUNC,leading_partials);
#endif /* QAK */
/*
@@ -622,8 +616,6 @@ H5F_seq_write(H5F_t *f, hid_t dxpl_id, const struct H5O_layout_t *layout,
case H5D_CHUNKED:
{
- uintn leading_partials; /* Flag set if there are leading partial hyperslabs to take care of */
-
/*
* This method is unable to access external raw data files
*/
@@ -670,12 +662,9 @@ printf("%s: acc=%ld, down_size[%d]=%ld\n",FUNC,(long)acc,i,(long)down_size[i]);
} /* end for */
/* Compute the hyperslab offset from the address given */
- leading_partials=0;
for(i=ndims-1; i>=0; i--) {
coords[i]=addr%dset_dims[i];
addr/=dset_dims[i];
- if(i>0 && coords[i]>0)
- leading_partials=1;
#ifdef QAK
printf("%s: addr=%lu, dset_dims[%d]=%ld, coords[%d]=%ld\n",FUNC,(unsigned long)addr,i,(long)dset_dims[i],i,(long)coords[i]);
#endif /* QAK */
@@ -683,7 +672,6 @@ printf("%s: addr=%lu, dset_dims[%d]=%ld, coords[%d]=%ld\n",FUNC,(unsigned long)a
coords[ndims]=0; /* No offset for element info */
#ifdef QAK
printf("%s: addr=%lu, coords[%d]=%ld\n",FUNC,(unsigned long)addr,ndims,(long)coords[ndims]);
-printf("%s: leading_partials=%u\n",FUNC,leading_partials);
#endif /* QAK */
/*