py/stackctrl: Prevent unused-var warning when stack checking disabled.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-06-05 10:40:48 +10:00
parent a70a4e6688
commit 5e1d3c8b5d
1 changed files with 1 additions and 1 deletions

View File

@ -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