Browse Source

fix(windows): fix unused PermissionsPlus fields

Signed-off-by: Christina Sørensen <ces@fem.gg>
Christina Sørensen 10 months ago
parent
commit
5500c4e3aa
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/fs/fields.rs

+ 2 - 0
src/fs/fields.rs

@@ -106,11 +106,13 @@ pub struct Attributes {
 /// little more compressed.
 #[derive(Copy, Clone)]
 pub struct PermissionsPlus {
+    #[allow(unused)]
     pub file_type: Type,
     #[cfg(unix)]
     pub permissions: Permissions,
     #[cfg(windows)]
     pub attributes: Attributes,
+    #[allow(unused)]
     pub xattrs: bool,
 }