summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-07 15:50:08 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-04-07 15:50:08 (GMT)
commita3262d2274f890b18ada2b4629822deec77fa9b7 (patch)
treeb70b98a1716aa82d2330297d5a549ce3fe7a723b /test/vfd_swmr.c
parent7b83633d5efa18746fc842ef755b25c09c3fcf38 (diff)
downloadhdf5-a3262d2274f890b18ada2b4629822deec77fa9b7.zip
hdf5-a3262d2274f890b18ada2b4629822deec77fa9b7.tar.gz
hdf5-a3262d2274f890b18ada2b4629822deec77fa9b7.tar.bz2
Quiet a warning about the variable being used before it is initialized.
Looks like the compiler actually was wrong, but this is a harmless change to make.
Diffstat (limited to 'test/vfd_swmr.c')
-rw-r--r--test/vfd_swmr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vfd_swmr.c b/test/vfd_swmr.c
index 6e7428e..5a9b55b 100644
--- a/test/vfd_swmr.c
+++ b/test/vfd_swmr.c
@@ -2672,7 +2672,7 @@ test_shadow_index_lookup(void)
uint32_t size[] = {0, 1, 2, 3, 4, 0};
char vector[8];
unsigned seed = 1;
- unsigned i, j, failj;
+ unsigned i, j, failj = UINT_MAX;
bool have_failj = false;
unsigned long tmpl;
char *ostate;