From c12172b804865c9705daaa04de47ea1eeb85dd79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Fri, 7 Jun 2024 10:16:23 +0200 Subject: [PATCH] Fix warning --- src/client.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/client.rs b/src/client.rs index 40027e00fc9..8d83c934cd4 100644 --- a/src/client.rs +++ b/src/client.rs @@ -84,11 +84,14 @@ use crate::interrupt::InterruptFlag; use crate::pipe::{TrussedRequester, TRUSSED_INTERCHANGE}; use crate::service::Service; use crate::types::{ - consent, reboot, Bytes, CertId, CounterId, KeyId, KeySerialization, Location, Mechanism, - MediumData, Message, PathBuf, Platform, SerializedKey, ShortData, Signature, - SignatureSerialization, StorageAttributes, UserAttribute, + consent, reboot, Bytes, CertId, KeyId, KeySerialization, Location, Mechanism, MediumData, + Message, PathBuf, Platform, SerializedKey, ShortData, Signature, SignatureSerialization, + StorageAttributes, UserAttribute, }; +#[cfg(feature = "counter-client")] +use crate::types::CounterId; + pub use crate::platform::Syscall; pub mod mechanisms;