diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-03-16 19:17:58 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-03-16 19:17:58 (GMT) |
commit | 042eed235d75999be367f5889de2921157029af7 (patch) | |
tree | c3adca32a828c44dcb4eba339fee21427cdd3118 /tools/h5dump | |
parent | e7c34211317abe34fc115483c417a68aeaee4988 (diff) | |
download | hdf5-042eed235d75999be367f5889de2921157029af7.zip hdf5-042eed235d75999be367f5889de2921157029af7.tar.gz hdf5-042eed235d75999be367f5889de2921157029af7.tar.bz2 |
[svn-r20259] Windows compilers insist that variable declarations are before assignement statements
Tested: windows
Diffstat (limited to 'tools/h5dump')
-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 6fefde7..e62e211 100644 --- a/tools/h5dump/h5dumpgentest.c +++ b/tools/h5dump/h5dumpgentest.c @@ -2834,11 +2834,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); |