Fix tests on nightly (by avoiding UB, even)

This commit is contained in:
Felix Krull 2019-06-28 22:43:39 +02:00 committed by Colin Walters
parent 27ac97df87
commit d7ea8af665
1 changed files with 1 additions and 1 deletions

View File

@ -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,