From 7b37e7122166767c47139a0c72d199f13368d133 Mon Sep 17 00:00:00 2001 From: Cain <75994858+cainthebest@users.noreply.github.com> Date: Wed, 7 Feb 2024 15:29:13 +0000 Subject: [PATCH] chore: remove unused else --- crates/lib/src/capture/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/lib/src/capture/mod.rs b/crates/lib/src/capture/mod.rs index 1e8581a..583ebd8 100644 --- a/crates/lib/src/capture/mod.rs +++ b/crates/lib/src/capture/mod.rs @@ -29,9 +29,6 @@ pub fn setup_capture(file_path: Option) { let writer = Box::new(Pcap::new(pcap_writer)); attach(writer) - } else { - // If no file path is provided - // Do nothing } }