Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build: Allow unread fields in structs
Signed-off-by: Akira Moroo <[email protected]>
  • Loading branch information
retrage committed Mar 5, 2021
commit 78643c8c2d6a4adc5d93b35b3948a351e48d3824
1 change: 1 addition & 0 deletions src/efi/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ pub extern "win64" fn set_position(_: *mut FileProtocol, _: u64) -> Status {
Status::UNSUPPORTED
}

#[allow(unused)]
struct FileInfo {
size: u64,
file_size: u64,
Expand Down
1 change: 1 addition & 0 deletions src/fat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ pub struct Filesystem<'a> {
first_fat_sector: u32,
first_data_sector: u32,
data_sector_count: u32,
#[allow(unused)]
data_cluster_count: u32,
root_cluster: u32, // FAT32 only
}
Expand Down