File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -329,18 +329,18 @@ lazy_static! {
329
329
330
330
// File drivers
331
331
lazy_static ! {
332
- pub static ref H5FD_CORE : hid_t = unsafe { h5lock!( H5FD_core_init ( ) ) } ;
333
- pub static ref H5FD_SEC2 : hid_t = unsafe { h5lock!( H5FD_sec2_init ( ) ) } ;
334
- pub static ref H5FD_STDIO : hid_t = unsafe { h5lock!( H5FD_stdio_init ( ) ) } ;
335
- pub static ref H5FD_FAMILY : hid_t = unsafe { h5lock!( H5FD_family_init ( ) ) } ;
336
- pub static ref H5FD_LOG : hid_t = unsafe { h5lock!( H5FD_log_init ( ) ) } ;
337
- pub static ref H5FD_MULTI : hid_t = unsafe { h5lock!( H5FD_multi_init ( ) ) } ;
332
+ pub static ref H5FD_CORE : hid_t = h5lock!( H5FD_core_init ( ) ) ;
333
+ pub static ref H5FD_SEC2 : hid_t = h5lock!( H5FD_sec2_init ( ) ) ;
334
+ pub static ref H5FD_STDIO : hid_t = h5lock!( H5FD_stdio_init ( ) ) ;
335
+ pub static ref H5FD_FAMILY : hid_t = h5lock!( H5FD_family_init ( ) ) ;
336
+ pub static ref H5FD_LOG : hid_t = h5lock!( H5FD_log_init ( ) ) ;
337
+ pub static ref H5FD_MULTI : hid_t = h5lock!( H5FD_multi_init ( ) ) ;
338
338
}
339
339
340
340
// MPI-IO file driver
341
341
#[ cfg( feature = "have-parallel" ) ]
342
342
lazy_static ! {
343
- pub static ref H5FD_MPIO : hid_t = unsafe { h5lock!( H5FD_mpio_init ( ) ) } ;
343
+ pub static ref H5FD_MPIO : hid_t = h5lock!( H5FD_mpio_init ( ) ) ;
344
344
}
345
345
#[ cfg( not( feature = "have-parallel" ) ) ]
346
346
lazy_static ! {
@@ -350,7 +350,7 @@ lazy_static! {
350
350
// Direct VFD
351
351
#[ cfg( feature = "have-direct" ) ]
352
352
lazy_static ! {
353
- pub static ref H5FD_DIRECT : hid_t = unsafe { h5lock!( H5FD_direct_init ( ) ) } ;
353
+ pub static ref H5FD_DIRECT : hid_t = h5lock!( H5FD_direct_init ( ) ) ;
354
354
}
355
355
#[ cfg( not( feature = "have-direct" ) ) ]
356
356
lazy_static ! {
You can’t perform that action at this time.
0 commit comments