summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-07-09 17:01:59 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-07-09 17:01:59 +0900
commit023908afc2790f8070da13d9ab3e51677b88dcde (patch)
tree30bc78bfef959ab164a43d841efed2525d3180f9 /test
parent42d4eb9fe4fb46a4f3c33ab3f9fe954babd2638b (diff)
downloadmruby-023908afc2790f8070da13d9ab3e51677b88dcde.tar.gz
mruby-023908afc2790f8070da13d9ab3e51677b88dcde.zip
remove unused return_value
Diffstat (limited to 'test')
-rw-r--r--test/driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/driver.c b/test/driver.c
index d4c29b532..7fd8ef720 100644
--- a/test/driver.c
+++ b/test/driver.c
@@ -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);