summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-10-14 19:45:38 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-10-14 19:45:38 (GMT)
commit53099719497a5a5561cabdac96a710f91d0fa21b (patch)
treec30c9606e082a47681fdfe05f7f6602c90093b69
parentbad28040b0eac564322304c0275786f09d0e44e4 (diff)
downloadhdf5-53099719497a5a5561cabdac96a710f91d0fa21b.zip
hdf5-53099719497a5a5561cabdac96a710f91d0fa21b.tar.gz
hdf5-53099719497a5a5561cabdac96a710f91d0fa21b.tar.bz2
Fixed Windows dsets.c test failure.
A 'static' keyword was removed from an array that needs it on Windows during a warning removal overhaul. Replacing it fixes the error. Tested on: 64-bit Windows 7 w/ VS 2015
-rw-r--r--test/dsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dsets.c b/test/dsets.c
index 8aa073f..16c233f 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -7949,7 +7949,7 @@ test_big_chunks_bypass_cache(hid_t fapl)
/* Buffers for reading and writing data (1-D) */
int *wdata = NULL, *rdata1 = NULL, *rdata2 = NULL;
/* Buffer for reading and writing data (2-D) */
- int t_wdata[BYPASS_CHUNK_DIM/2][BYPASS_CHUNK_DIM/2], t_rdata1[BYPASS_DIM][BYPASS_DIM],
+ static int t_wdata[BYPASS_CHUNK_DIM/2][BYPASS_CHUNK_DIM/2], t_rdata1[BYPASS_DIM][BYPASS_DIM],
t_rdata2[BYPASS_CHUNK_DIM/2][BYPASS_CHUNK_DIM/2];
int i, j; /* Local index variables */
H5F_libver_t low; /* File format low bound */