From 6c27f65e212a1ee58d408ab85cbb9c6c5782e35e Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Sun, 29 Sep 2019 12:36:27 +0300 Subject: [PATCH] Fix compiler warning --- c/char.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/c/char.c b/c/char.c index 0782684..c2b8079 100644 --- a/c/char.c +++ b/c/char.c @@ -51,7 +51,6 @@ static int32_t must_get_char_as_int(const char *procname, value_t *args, uint32_t nargs) { struct cprim *cp; - int32_t cc; argcount(procname, nargs, 1); if (isfixnum(args[0])) { @@ -60,7 +59,6 @@ static int32_t must_get_char_as_int(const char *procname, value_t *args, if (iscprim(args[0])) { cp = (struct cprim *)ptr(args[0]); if (cp_class(cp) == wchartype) { - cc = *(int32_t *)cp_data(cp); return *(int32_t *)cp_data(cp); // TODO: Is this right? } }