From ce438f590594e3d4fffc6e2955f19719ddb42875 Mon Sep 17 00:00:00 2001 From: xanathar Date: Fri, 11 Oct 2024 20:25:49 +0200 Subject: [PATCH] Fixed compilation warning --- src/enumerators/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/enumerators/mod.rs b/src/enumerators/mod.rs index 8d77af6..1bfca85 100644 --- a/src/enumerators/mod.rs +++ b/src/enumerators/mod.rs @@ -73,6 +73,7 @@ pub fn default_pci_enumerator() -> Result { Err::(PciInfoError::NoDefaultPciEnumeratorForPlatform) } +#[allow(dead_code)] struct InvalidPciEnumerator; impl PciEnumerator for InvalidPciEnumerator { fn enumerate_pci(self) -> Result {