diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-10-15 03:34:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-15 03:34:29 (GMT) |
commit | ef1edba2cea21dce47235664395701bccd41530d (patch) | |
tree | 2c273dbdda82a671773ec2753b53a1a25bd41184 /testpar | |
parent | 1d06e978b652238809b89dc3602fda9dabd5875d (diff) | |
download | hdf5-ef1edba2cea21dce47235664395701bccd41530d.zip hdf5-ef1edba2cea21dce47235664395701bccd41530d.tar.gz hdf5-ef1edba2cea21dce47235664395701bccd41530d.tar.bz2 |
Fix uninitialized subfiling test variable (#3675)
Picked up by gcc 10 on skybridge. Probably spurious, but no harm in
initializing it to a "bad" value.
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_subfiling_vfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testpar/t_subfiling_vfd.c b/testpar/t_subfiling_vfd.c index 0c64bf2..ccece41 100644 --- a/testpar/t_subfiling_vfd.c +++ b/testpar/t_subfiling_vfd.c @@ -886,7 +886,7 @@ test_selection_strategies(void) char criteria_buf[256]; char sel_criteria[128]; /* Use char buffer for criteria as we may support the "with config" strategy in the future */ - int expected_num_subfiles; + int expected_num_subfiles = -1; cfg.ioc_selection = strategy; cfg.stripe_size = H5FD_SUBFILING_DEFAULT_STRIPE_SIZE; |