From b097798ac829960ee854cfdaa6bcbac1c4c151d6 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Tue, 25 Feb 2025 00:04:22 +0100 Subject: [PATCH] chore: allow unused variables --- src/file_io.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/file_io.rs b/src/file_io.rs index babb0e7..8efa7aa 100644 --- a/src/file_io.rs +++ b/src/file_io.rs @@ -1,7 +1,7 @@ /* * This file is part of osc-variant * - * Copyright (C) 2024 the original author or authors. + * Copyright (C) 2025 the original author or authors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -89,6 +89,7 @@ impl InputFile { .to_string() } + #[allow(unused_variables)] pub fn read(filename: String, password: Option) -> Result { if let Some(extension) = Path::new(filename.as_str()).extension() { return match extension.to_str() {