Clean up some warnings

This commit is contained in:
Marshall Bowers
2023-10-25 20:40:50 +02:00
parent b5eae86b67
commit 5355007719
2 changed files with 1 additions and 2 deletions
-2
View File
@@ -1667,8 +1667,6 @@ extern "C" fn dragging_exited(this: &Object, _: Sel, _: id) {
}
extern "C" fn perform_drag_operation(this: &Object, _: Sel, dragging_info: id) -> BOOL {
let files = external_paths_from_event(dragging_info);
let window_state = unsafe { get_window_state(this) };
let position = drag_event_position(&window_state, dragging_info);
if send_new_event(
+1
View File
@@ -2052,6 +2052,7 @@ impl LocalSnapshot {
ignore_stack
}
#[allow(dead_code)] // todo!("remove this when we use it")
#[cfg(test)]
pub(crate) fn expanded_entries(&self) -> impl Iterator<Item = &Entry> {
self.entries_by_path