mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
Missed an env check before strcmp.
This commit is contained in:
parent
3d904f8141
commit
0c896fcdf9
@ -610,7 +610,7 @@ h5_fixname_real(const char *base_name, hid_t fapl, const char *_suffix,
|
||||
if(!env)
|
||||
env = HDF5_DRIVER;
|
||||
#endif
|
||||
if(!HDstrcmp(env, "split")) {
|
||||
if(env && !HDstrcmp(env, "split")) {
|
||||
/* split VFD */
|
||||
if(subst_for_superblock)
|
||||
suffix = "-m.h5";
|
||||
|
Loading…
Reference in New Issue
Block a user