diff --git a/src/lib.rs b/src/lib.rs
index a482570a032729d91220fb7dd6b965275525d726..5f1c86a859d4880f7fc2a397b76c11d003bcf2b1 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -26,7 +26,7 @@ macro_rules! warn_debug {
 /// in release mode, this macro does nothing
 #[cfg(not(debug_assertions))]
 macro_rules! warn_debug {
-    () => {};
+    ($msg:literal, $($arg:expr),*) => {};
 }
 
 /// This is a wrapper to the arguments passed to the MEX function