diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/value.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mruby/value.h b/include/mruby/value.h index a02baac80..876f8e08f 100644 --- a/include/mruby/value.h +++ b/include/mruby/value.h @@ -292,6 +292,7 @@ typedef struct mrb_value { static inline mrb_value mrb_float_value(struct mrb_state *mrb, mrb_float f) { + (void) mrb; mrb_value v; MRB_SET_VALUE(v, MRB_TT_FLOAT, value.f, f); @@ -445,6 +446,7 @@ mrb_voidp_value(struct mrb_state *mrb, void *p); static inline mrb_value mrb_voidp_value(struct mrb_state *mrb, void *p) { + (void) mrb; mrb_value v; MRB_SET_VALUE(v, MRB_TT_VOIDP, value.p, p); |
