chiark / gitweb /
fixes etc.
[hippotat.git] / server / slocal.rs
index 19944119e00deb2a2b070b3c94bb950b2e10fd27..f58ef9cdcff0bd17c9248d82eb14a3761d9e9420 100644 (file)
@@ -4,8 +4,6 @@
 
 use super::*;
 
-#[allow(dead_code)] // xxx
-#[allow(unused_variables)] // xxx
 pub async fn run(global: Arc<Global>,
                  mut rx: mpsc::Receiver<RoutedPacket>,
                  mut ipif: Ipif) -> Result<Void,AE> {
@@ -60,7 +58,7 @@ pub async fn run(global: Arc<Global>,
                 daddr, saddr, data.len());
             },
 
-            Ok((data, (saddr, daddr))) => {
+            Ok((data, (_saddr, daddr))) => {
               goodness += 1;
               route_packet(
                 &global, "ipif", None,