Fix tests on nightly (by avoiding UB, even)

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:54 -04:00
1 parent 27ac97df87
commit d7ea8af665
1 file changed
+1 -1
@@ -65,7 +65,7 @@ impl FromGlibPtrNone<gpointer> for &RepoCheckoutFilter {
///
/// # Panics
/// If any parameter is a null pointer, the function panics.
unsafe extern "C" fn filter_trampoline(
unsafe fn filter_trampoline(
repo: *mut OstreeRepo,
path: *const c_char,
stat: *mut libc::stat,