From 33bcf4d0ce370bb79fccc3f61fc577859a35e093 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 6 Oct 2024 07:59:31 +0200 Subject: [PATCH] Remove redundant drop --- src/history.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/history.rs b/src/history.rs index 417642e52..564c767bb 100644 --- a/src/history.rs +++ b/src/history.rs @@ -756,8 +756,6 @@ impl HistoryImpl { // We did it done = true; } - - drop(target_fd_after); } // Ensure we never leave the old file around