diff --git a/moq-relay/src/origin.rs b/moq-relay/src/origin.rs index e46a6b57..51c0df06 100644 --- a/moq-relay/src/origin.rs +++ b/moq-relay/src/origin.rs @@ -13,27 +13,27 @@ pub struct Origin { // An API client used to get/set broadcasts. // If None then we never use a remote origin. // TODO: Stub this out instead. - api: Option, + _api: Option, // The internal address of our node. // If None then we can never advertise ourselves as an origin. // TODO: Stub this out instead. - node: Option, + _node: Option, // A map of active broadcasts by namespace. local: Arc>>, // A QUIC endpoint we'll use to fetch from other origins. - quic: quinn::Endpoint, + _quic: quinn::Endpoint, } impl Origin { - pub fn new(api: Option, node: Option, quic: quinn::Endpoint) -> Self { + pub fn new(_api: Option, _node: Option, _quic: quinn::Endpoint) -> Self { Self { - api, - node, + _api, + _node, local: Default::default(), - quic, + _quic, } }