remove unused return_value

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-07-09 17:01:59 +09:00
parent 42d4eb9fe4
commit 023908afc2
+1 -2
View File
@@ -41,11 +41,10 @@ check_error(mrb_state *mrb)
static int
eval_test(mrb_state *mrb)
{
mrb_value return_value;
const char *prog = "report()";
/* evaluate the test */
return_value = mrb_load_string(mrb, prog);
mrb_load_string(mrb, prog);
/* did an exception occur? */
if (mrb->exc) {
mrb_print_error(mrb);