py/stackctrl: Prevent unused-var warning when stack checking disabled.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
a70a4e6688
commit
5e1d3c8b5d
|
@ -40,7 +40,7 @@ void mp_stack_check(void);
|
|||
|
||||
#else
|
||||
|
||||
#define mp_stack_set_limit(limit)
|
||||
#define mp_stack_set_limit(limit) (void)(limit)
|
||||
#define MP_STACK_CHECK()
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue