Fix tests on nightly (by avoiding UB, even)
This commit is contained in:
parent
27ac97df87
commit
d7ea8af665
|
|
@ -65,7 +65,7 @@ impl FromGlibPtrNone<gpointer> for &RepoCheckoutFilter {
|
||||||
///
|
///
|
||||||
/// # Panics
|
/// # Panics
|
||||||
/// If any parameter is a null pointer, the function panics.
|
/// If any parameter is a null pointer, the function panics.
|
||||||
unsafe extern "C" fn filter_trampoline(
|
unsafe fn filter_trampoline(
|
||||||
repo: *mut OstreeRepo,
|
repo: *mut OstreeRepo,
|
||||||
path: *const c_char,
|
path: *const c_char,
|
||||||
stat: *mut libc::stat,
|
stat: *mut libc::stat,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue