From 4a9d8c94598db77168ad9289919db094c8938bc6 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 15 Dec 2017 06:07:16 +0000 Subject: [PATCH] runtime: fix a warning. --- artiq/firmware/runtime/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/runtime/lib.rs b/artiq/firmware/runtime/lib.rs index 0bd6e760f..feaf39992 100644 --- a/artiq/firmware/runtime/lib.rs +++ b/artiq/firmware/runtime/lib.rs @@ -198,7 +198,7 @@ fn startup_ethernet() { Err(err) => warn!("network error: {}", err) } - if let Some(net_stats_diff) = net_stats.update() { + if let Some(_net_stats_diff) = net_stats.update() { warn!("ethernet mac:{}", ethmac::EthernetStatistics::new()); } }