Clean up some warnings

Marshall Bowers created

Change summary

crates/gpui2/src/platform/mac/window.rs | 2 --
crates/project2/src/worktree.rs         | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)

Detailed changes

crates/gpui2/src/platform/mac/window.rs 🔗

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

crates/project2/src/worktree.rs 🔗

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