From 762f72449bb9007a4679e478c6bf084146d89510 Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Thu, 28 Oct 2021 19:03:01 +0200 Subject: Ignore "dead code" warnings on FFI enums. --- pulse/src/communication.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pulse/src/communication.rs') diff --git a/pulse/src/communication.rs b/pulse/src/communication.rs index 918d6c9..51456d9 100644 --- a/pulse/src/communication.rs +++ b/pulse/src/communication.rs @@ -43,7 +43,7 @@ impl MsgMainToModule for SenderForMain { } impl From for PluginCommunicationError { - fn from(error : PulseWakeUpError) -> Self { + fn from(_error : PulseWakeUpError) -> Self { PluginCommunicationError {} } } -- cgit v1.2.3