Commit ec606e3a authored by Jonas Kulla's avatar Jonas Kulla

Silence "unused parameter" warnings in C++

This has been done already, but the fixes were accidentally
removed in 249f05e7.
parent 40e46944
...@@ -130,6 +130,7 @@ static inline mrb_value ...@@ -130,6 +130,7 @@ static inline mrb_value
mrb_float_value(struct mrb_state *mrb, mrb_float f) mrb_float_value(struct mrb_state *mrb, mrb_float f)
{ {
mrb_value v; mrb_value v;
(void) mrb;
SET_FLOAT_VALUE(mrb, v, f); SET_FLOAT_VALUE(mrb, v, f);
return v; return v;
} }
...@@ -138,6 +139,7 @@ static inline mrb_value ...@@ -138,6 +139,7 @@ static inline mrb_value
mrb_cptr_value(struct mrb_state *mrb, void *p) mrb_cptr_value(struct mrb_state *mrb, void *p)
{ {
mrb_value v; mrb_value v;
(void) mrb;
SET_CPTR_VALUE(mrb,v,p); SET_CPTR_VALUE(mrb,v,p);
return v; return v;
} }
......
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