From 41f787b9b6537b80dac1d261686292b789844c06 Mon Sep 17 00:00:00 2001 From: Wang Renxin Date: Mon, 27 Jun 2016 09:53:54 +0800 Subject: [PATCH] +added a context parameter to stepped handler. --- shell/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/main.c b/shell/main.c index 4166982..0aecaf6 100755 --- a/shell/main.c +++ b/shell/main.c @@ -1419,8 +1419,9 @@ static int beep(struct mb_interpreter_t* s, void** l) { ** Callbacks and handlers */ -static void _on_stepped(struct mb_interpreter_t* s, char* f, int p, unsigned short row, unsigned short col) { +static void _on_stepped(struct mb_interpreter_t* s, void** l, char* f, int p, unsigned short row, unsigned short col) { mb_unrefvar(s); + mb_unrefvar(l); mb_unrefvar(f); mb_unrefvar(p); mb_unrefvar(row);