rust/hedgewars-engine-messages/src/messages.rs
changeset 14260 a239e4243cf9
parent 14259 9f4d75fa4a2c
child 14277 3152d9fdb499
--- a/rust/hedgewars-engine-messages/src/messages.rs	Tue Nov 20 16:18:42 2018 +0100
+++ b/rust/hedgewars-engine-messages/src/messages.rs	Tue Nov 20 16:56:24 2018 +0100
@@ -220,7 +220,7 @@
             ChatMessage(str) => ems![b's', str],
             TeamMessage(str) => ems![b'b', str],
             Error(str) => ems![b'E', str],
-            Warning(str) => unreachable!(),
+            Warning(_) => unreachable!(),
             StopSyncing => unreachable!(),
             GameOver => em![b'q'],
             GameInterrupted => em![b'Q'],