diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-07-24 06:40:51 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-07-24 06:40:51 +0900 |
| commit | 6055ebaf782691f226517700cdc87a2536c0cca8 (patch) | |
| tree | cc75742a8994c5a534a736f4483ef5aefec753f6 /include | |
| parent | 40e46944a285e1113f66ad0d070e7e595e7d63e4 (diff) | |
| parent | ec606e3aa73aa670cac9fc5b5892be46882e830e (diff) | |
| download | mruby-6055ebaf782691f226517700cdc87a2536c0cca8.tar.gz mruby-6055ebaf782691f226517700cdc87a2536c0cca8.zip | |
Merge pull request #2489 from Ancurio/silence_cpp_warn
Silence "unused parameter" warnings in C++
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 20b6008c4..ae75f9c23 100644 --- a/include/mruby/value.h +++ b/include/mruby/value.h @@ -130,6 +130,7 @@ static inline mrb_value mrb_float_value(struct mrb_state *mrb, mrb_float f) { mrb_value v; + (void) mrb; SET_FLOAT_VALUE(mrb, v, f); return v; } @@ -138,6 +139,7 @@ static inline mrb_value mrb_cptr_value(struct mrb_state *mrb, void *p) { mrb_value v; + (void) mrb; SET_CPTR_VALUE(mrb,v,p); return v; } |
