fix warning

This commit is contained in:
fab 2024-05-19 10:39:02 +02:00
parent daf78f0547
commit e500c3d3ac
1 changed files with 0 additions and 1 deletions

View File

@ -35,7 +35,6 @@ fn is_calendar_file(entry: &path::PathBuf) -> bool {
}
fn calendar_files() -> Vec<path::PathBuf> {
let mut files: Vec<path::PathBuf> = Vec::new();
if let Some(data_dir) = dirs::data_dir() {
let calendar_dir = data_dir.join("calendars");
info!("calendar dir: {}", calendar_dir.to_str().unwrap_or("<none>"));