Skip to content

Commit e513b72

Browse files
committedFeb 22, 2025·
This comparison should make sense as function lookups are in one comp unit
1 parent 99a33d8 commit e513b72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎hdf5/src/hl/datatype.rs

+1
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ impl Datatype {
174174
let mut cdata = H5T_cdata_t::default();
175175
h5lock!({
176176
let noop = H5Tfind(*H5T_NATIVE_INT, *H5T_NATIVE_INT, &mut addr_of_mut!(cdata));
177+
#[allow(unpredictable_function_pointer_comparisons)]
177178
if H5Tfind(self.id(), dst.id(), &mut addr_of_mut!(cdata)) == noop {
178179
Some(Conversion::NoOp)
179180
} else {

0 commit comments

Comments
 (0)
Please sign in to comment.