Fix compiler warning

This commit is contained in:
Lassi Kortela 2019-09-29 12:36:27 +03:00
parent 0d315e320e
commit 6c27f65e21
1 changed files with 0 additions and 2 deletions

View File

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