fix compile bugs

This commit is contained in:
red binder 2026-08-08 03:13:29 +02:00
commit e29e3f874c
2 changed files with 2 additions and 5 deletions

View file

@ -1,5 +1,4 @@
use proxy::edge_node_dc_callback;
use proxy_common::{ProxyStartupParam, setup_edge_node_connection};
use proxy_common::ProxyStartupParam;
use rnex_server::with_setup;
#[tokio::main]
@ -8,8 +7,6 @@ async fn main() {
let param = ProxyStartupParam::new(proxy_common::ProxyType::Insecure)
.expect("unable to get startup parameters");
// setup_edge_node_connection(&param, edge_node_dc_callback).await;
proxy::start_insecure(param).await;
Ok(())
})

View file

@ -177,7 +177,7 @@ impl Secure for BaseUser {
Ok(())
}
async fn send_report(&self,id: u32,data: QBuffer) -> Result<(),ErrorCode> {
async fn send_report(&self, _id: u32, _data: QBuffer) -> Result<(),ErrorCode> {
Ok(())
}
}