fix: eliminate all compiler warnings across client, relay, web
- Remove unused imports in featherchat.rs (tracing, QualityProfile) - Remove unused comfort_noise field from CallEncoder (cn_level is used instead) - Prefix unused _metrics_file in CliArgs - Prefix unused _addr in Participant - Remove unused RoomSlot struct and rooms field from web AppState - Remove unused HashMap import from web main Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -30,7 +30,7 @@ fn next_id() -> ParticipantId {
|
||||
/// A participant in a room.
|
||||
struct Participant {
|
||||
id: ParticipantId,
|
||||
addr: std::net::SocketAddr,
|
||||
_addr: std::net::SocketAddr,
|
||||
transport: Arc<wzp_transport::QuinnTransport>,
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ impl Room {
|
||||
fn add(&mut self, addr: std::net::SocketAddr, transport: Arc<wzp_transport::QuinnTransport>) -> ParticipantId {
|
||||
let id = next_id();
|
||||
info!(room_size = self.participants.len() + 1, participant = id, %addr, "joined room");
|
||||
self.participants.push(Participant { id, addr, transport });
|
||||
self.participants.push(Participant { id, _addr: addr, transport });
|
||||
id
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user