Commit 2134d6b4 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #992 from kano4/unused

Remove unused return value in mruby.c
parents 67f7c0c5 f05c3bce
......@@ -125,7 +125,6 @@ append_cmdline:
exit(0);
}
else return -3;
return 0;
default:
return -4;
}
......@@ -213,17 +212,14 @@ showcallinfo(mrb_state *mrb)
const char *cn = mrb_class_name(mrb, ci->proc->target_class);
if (cn) {
printf("\t[%d] %s:%d:in %s%s%s\n",
i, filename, line, cn, sep, method);
printf("\t[%d] %s:%d:in %s%s%s\n", i, filename, line, cn, sep, method);
}
else {
printf("\t[%d] %s:%d:in %s\n",
i, filename, line, method);
printf("\t[%d] %s:%d:in %s\n", i, filename, line, method);
}
}
else {
printf("\t[%d] %s:%d\n",
i, filename, line);
printf("\t[%d] %s:%d\n", i, filename, line);
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment