summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--py/runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.h b/py/runtime.h
index 4abdea584..bbdd7647e 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -175,7 +175,7 @@ void mp_native_raise(mp_obj_t o);
#if MICROPY_WARNINGS
void mp_warning(const char *msg, ...);
#else
-#define mp_warning(msg, ...)
+#define mp_warning(...)
#endif
#endif // MICROPY_INCLUDED_PY_RUNTIME_H