Fix warnings: remove unused import and variable

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Siavash Sameni
2026-03-27 13:39:05 +04:00
parent 661de47552
commit 608a160614
3 changed files with 5 additions and 7 deletions

View File

@@ -123,7 +123,6 @@ async fn main() -> anyhow::Result<()> {
tui::run_tui(our_fp, peer, server, identity, poll_seed, db).await?;
}
Commands::Backup { output } => {
let data_dir = keystore::data_dir();
// Collect all sled data as JSON
let db = storage::LocalDb::open()?;
let backup_data = db.export_all()?;

View File

@@ -1,7 +1,6 @@
//! Local sled database: sessions, pre-keys, message history.
use anyhow::{Context, Result};
use base64::Engine as _;
use warzone_protocol::ratchet::RatchetState;
use warzone_protocol::types::Fingerprint;
use x25519_dalek::StaticSecret;