Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix warning
  • Loading branch information
jef-n committed Jul 16, 2018
1 parent 5d11388 commit 97d28d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/mdal/frmts/mdal_hdf5.hpp
Expand Up @@ -27,7 +27,7 @@ struct HdfString
char data [HDF_MAX_NAME];
};

template <int TYPE> inline void hdfClose( hid_t id ) { assert( false ); }
template <int TYPE> inline void hdfClose( hid_t id ) { Q_UNUSED( id ); assert( false ); }
template <> inline void hdfClose<H5I_FILE>( hid_t id ) { H5Fclose( id ); }
template <> inline void hdfClose<H5I_GROUP>( hid_t id ) { H5Gclose( id ); }
template <> inline void hdfClose<H5I_DATASET>( hid_t id ) { H5Dclose( id ); }
Expand Down

0 comments on commit 97d28d4

Please sign in to comment.