mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 10:07:28 +00:00
working_copy: stop suppressing a warning that doesn't happen
We mutate the `new_file_state` variable on line 513 regardless of platform these days, so we don't need to suppress the warning on Unix.
This commit is contained in:
parent
ecb86118e5
commit
23f9e6479f
1 changed files with 0 additions and 1 deletions
|
@ -454,7 +454,6 @@ impl TreeState {
|
|||
return Ok(());
|
||||
}
|
||||
let metadata = disk_path.symlink_metadata().unwrap();
|
||||
#[cfg_attr(unix, allow(unused_mut))]
|
||||
let mut new_file_state = file_state(&metadata);
|
||||
match maybe_current_file_state {
|
||||
None => {
|
||||
|
|
Loading…
Reference in a new issue