fix compilation warning

This commit is contained in:
jhspetersson 2024-05-21 14:23:18 +02:00
parent 7e77c40b1d
commit fbcf53d531

View File

@ -302,6 +302,7 @@ fn convert_gitignore_glob(glob: &str, file_path: &Path) -> Result<Regex, Error>
pattern.remove(0);
}
#[allow(unused_mut)]
let mut file_path_pattern = file_path
.to_string_lossy()
.to_string()