Commit 9b01bf60 authored by Jonas Kulla's avatar Jonas Kulla

Silence 'unused parameter' warnings

parent f6fa0723
...@@ -292,6 +292,7 @@ typedef struct mrb_value { ...@@ -292,6 +292,7 @@ typedef struct mrb_value {
static inline mrb_value static inline mrb_value
mrb_float_value(struct mrb_state *mrb, mrb_float f) mrb_float_value(struct mrb_state *mrb, mrb_float f)
{ {
(void) mrb;
mrb_value v; mrb_value v;
MRB_SET_VALUE(v, MRB_TT_FLOAT, value.f, f); MRB_SET_VALUE(v, MRB_TT_FLOAT, value.f, f);
...@@ -445,6 +446,7 @@ mrb_voidp_value(struct mrb_state *mrb, void *p); ...@@ -445,6 +446,7 @@ mrb_voidp_value(struct mrb_state *mrb, void *p);
static inline mrb_value static inline mrb_value
mrb_voidp_value(struct mrb_state *mrb, void *p) mrb_voidp_value(struct mrb_state *mrb, void *p)
{ {
(void) mrb;
mrb_value v; mrb_value v;
MRB_SET_VALUE(v, MRB_TT_VOIDP, value.p, p); MRB_SET_VALUE(v, MRB_TT_VOIDP, value.p, p);
......
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