From e023ce9aad8fda293440fce1aeff31dcc72b5425 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sun, 15 Oct 2017 21:18:22 +0200 Subject: [PATCH] rust/dns: fix new warning in rustc 1.21 --- rust/src/dns/dns.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/dns/dns.rs b/rust/src/dns/dns.rs index b599eda54f..5c9e1ade9e 100644 --- a/rust/src/dns/dns.rs +++ b/rust/src/dns/dns.rs @@ -352,7 +352,7 @@ impl DNSState { return; } - let mut tx = &mut self.transactions[len - 1]; + let tx = &mut self.transactions[len - 1]; core::sc_app_layer_decoder_events_set_event_raw(&mut tx.events, event as u8); self.events += 1; -- 2.47.2