summaryrefslogtreecommitdiffstats
path: root/src/H5Dseq.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-06-19 17:35:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-06-19 17:35:45 (GMT)
commit7c8d70200303e03fea24a61707658392eb450911 (patch)
tree5f2ebc064cc2af00a409074e8600ec7f5937c398 /src/H5Dseq.c
parentfbc0f37dc5c5fd86e825dc436b56fda23a2e7ea7 (diff)
downloadhdf5-7c8d70200303e03fea24a61707658392eb450911.zip
hdf5-7c8d70200303e03fea24a61707658392eb450911.tar.gz
hdf5-7c8d70200303e03fea24a61707658392eb450911.tar.bz2
[svn-r4018] Purpose:
Code cleanup Description: Removed some more warnings during compilation on SGI machines.. Platforms tested: Irix64-6.5 (modi4)
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 */
/*