Skip to content
Snippets Groups Projects
Commit 89f657f0 authored by Damien George's avatar Damien George
Browse files

py/runtime.h: Change empty mp_warning macro so var-args are non empty.

Variable arguments in a macro should take at least 1 argument.
parent aca498c2
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment