mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-04-19 11:46:50 +00:00
chore: allow unused variables
This commit is contained in:
parent
5b6ae2794e
commit
b097798ac8
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* This file is part of osc-variant
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -89,6 +89,7 @@ impl InputFile {
|
|||||||
.to_string()
|
.to_string()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unused_variables)]
|
||||||
pub fn read(filename: String, password: Option<String>) -> Result<Self, FileError> {
|
pub fn read(filename: String, password: Option<String>) -> Result<Self, FileError> {
|
||||||
if let Some(extension) = Path::new(filename.as_str()).extension() {
|
if let Some(extension) = Path::new(filename.as_str()).extension() {
|
||||||
return match extension.to_str() {
|
return match extension.to_str() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user