Skip to content

Commit

Permalink
Fixed compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
xanathar committed Oct 11, 2024
1 parent a0f29e9 commit ce438f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/enumerators/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ pub fn default_pci_enumerator() -> Result<impl PciEnumerator, PciInfoError> {
Err::<InvalidPciEnumerator, PciInfoError>(PciInfoError::NoDefaultPciEnumeratorForPlatform)
}

#[allow(dead_code)]
struct InvalidPciEnumerator;
impl PciEnumerator for InvalidPciEnumerator {
fn enumerate_pci(self) -> Result<PciInfo, PciInfoError> {
Expand Down

0 comments on commit ce438f5

Please sign in to comment.