diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-03-16 19:18:59 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-03-16 19:18:59 (GMT) |
commit | 3134225d82cde850e95eb9d221af2a009096af70 (patch) | |
tree | cdae869cfeb96d40b73bea47dfebc1b10ca8e17c /tools | |
parent | 825047de52d6c9ae85ea30dcf5a5a8b07ad0d83f (diff) | |
download | hdf5-3134225d82cde850e95eb9d221af2a009096af70.zip hdf5-3134225d82cde850e95eb9d221af2a009096af70.tar.gz hdf5-3134225d82cde850e95eb9d221af2a009096af70.tar.bz2 |
[svn-r20260] Windows compilers insist that variable declarations are before assignement statements
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5dump/h5dumpgentest.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c index 0f0ad83..dcd8dd5 100644 --- a/tools/h5dump/h5dumpgentest.c +++ b/tools/h5dump/h5dumpgentest.c @@ -2844,11 +2844,11 @@ static void gent_array1_big(void) hsize_t stride[SPACE1_RANK]; /* Stride of hyperslab */ hsize_t count[SPACE1_RANK]; /* Element count of hyperslab */ hsize_t block[SPACE1_RANK]; /* Block size of hyperslab */ - start[0]=0; - stride[0]=1; - count[0]=999; - block[0]=1; - hdset_reg_ref_t *wbuf; /* buffer to write to disk */ + hdset_reg_ref_t *wbuf; /* buffer to write to disk */ + start[0] = 0; + stride[0] = 1; + count[0] = 999; + block[0] = 1; /* Allocate write & read buffers */ wbuf = (hdset_reg_ref_t*) calloc(sizeof(hdset_reg_ref_t), SPACE1_DIM1); |