mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-12 15:04:59 +08:00
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.
This commit is contained in:
parent
1d06e978b6
commit
ef1edba2ce
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user