From 25aeb6fddc23054ff6788e2480690fd5589ac1cb Mon Sep 17 00:00:00 2001 From: Didier Date: Mon, 8 May 2023 14:15:01 +0200 Subject: [PATCH] fix: remove unused ffmpeg error. --- src/configuration/mod.rs | 1 + src/error.rs | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/configuration/mod.rs b/src/configuration/mod.rs index 847ab82..04a2131 100644 --- a/src/configuration/mod.rs +++ b/src/configuration/mod.rs @@ -44,6 +44,7 @@ pub struct Config { } impl Config { + #[allow(dead_code)] pub fn new() -> Config { Config { debug: None, diff --git a/src/error.rs b/src/error.rs index 1f32a9e..adbb58c 100644 --- a/src/error.rs +++ b/src/error.rs @@ -5,9 +5,6 @@ pub enum Error { #[error("Renice error: {0}")] ReniceError(std::io::Error), - #[error("FFmpeg error: {0}")] - FFmpegError(std::io::Error), - #[error("Job error: {0}")] JobError(std::io::Error), } \ No newline at end of file