Skip to content

Commit f2c8b43

Browse files
committed
mruby-test: stop unused local variable warning
1 parent 4ba0cac commit f2c8b43

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

mrbgems/mruby-test/driver.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ mrb_init_test_driver(mrb_state *mrb, mrb_bool verbose)
229229
#else
230230
mrb_define_const(mrb, mrbtest, "FLOAT_TOLERANCE", mrb_float_value(mrb, 1e-10));
231231
#endif
232+
#else
233+
(void)mrbtest;
232234
#endif
233235

234236
mrb_init_test_vformat(mrb);

0 commit comments

Comments
 (0)