move (void) cast after declarations

This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-08-12 09:37:21 +09:00
parent 9b01bf6035
commit 3a27e9189a
+2 -2
View File
@@ -292,8 +292,8 @@ typedef struct mrb_value {
static inline mrb_value
mrb_float_value(struct mrb_state *mrb, mrb_float f)
{
(void) mrb;
mrb_value v;
(void) mrb;
MRB_SET_VALUE(v, MRB_TT_FLOAT, value.f, f);
return v;
@@ -446,8 +446,8 @@ 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;
(void) mrb;
MRB_SET_VALUE(v, MRB_TT_VOIDP, value.p, p);
return v;