Skip to content

Commit

Permalink
Fix uninitialized subfiling test variable (HDFGroup#3675)
Browse files Browse the repository at this point in the history
Picked up by gcc 10 on skybridge. Probably spurious, but no harm in
initializing it to a "bad" value.
  • Loading branch information
derobins authored and jhendersonHDF committed Oct 18, 2023
1 parent 73692ee commit 459598c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testpar/t_subfiling_vfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 459598c

Please sign in to comment.