From d718490a032649e4fc1c32bb1d9d16c123d1c1fe Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Wed, 19 Feb 2014 02:24:30 +0900 Subject: [PATCH] (finally!) hunt the bug. no more segv on error in repl --- src/error.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/error.c b/src/error.c index 1208ec8c..de6167dc 100644 --- a/src/error.c +++ b/src/error.c @@ -167,8 +167,7 @@ NORETURN static pic_value pic_error_error(pic_state *pic) { char *str; - int len; - size_t argc; + size_t len, argc; pic_value *argv; struct pic_error *e;