🔧 Add #[allow(dead_code)] to unused items

- Suppress dead code warnings for utility functions, enums and traits not yet used in production
- Reorganize imports to follow module conventions (e.g., `DeviceIdentity` moved earlier in openhome_renderer.rs)
- Improve formatting of ClientMessage variants for readability
These changes prepare codebase groundwork without altering runtime behavior.
This commit is contained in:
2026-04-04 01:03:45 +02:00
parent 77d0d73ed7
commit ff699d220f
13 changed files with 44 additions and 10 deletions

View File

@@ -333,6 +333,7 @@ impl PersistenceManager {
}
/// Supprime tous les tracks contenant un cache_pk donné
#[allow(dead_code)]
pub async fn remove_by_cache_pk(&self, cache_pk: &str) -> Result<()> {
let conn = self.conn.lock().unwrap();
conn.execute("DELETE FROM tracks WHERE cache_pk = ?1", params![cache_pk])