Removed unneeded variable

This commit is contained in:
Benjamyn Love 2024-03-22 17:16:58 +11:00
parent 400c8c20c3
commit 01d309fd78

View File

@ -15,7 +15,7 @@ impl fmt::Display for Config {
impl Config { impl Config {
pub fn from_file(file_path: String) -> Config { pub fn from_file(file_path: String) -> Config {
let mut config = Ini::new(); let mut config = Ini::new();
let _map = config.load(file_path).unwrap(); config.load(file_path).unwrap();
let subdomains = config.get("General", "subdomains").unwrap(); let subdomains = config.get("General", "subdomains").unwrap();
let mut subvec: Vec<String> = vec![]; let mut subvec: Vec<String> = vec![];