diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-06-27 22:48:06 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-06-27 22:48:06 +0900 |
| commit | 3554a41a5445cb8e89d365ac27bed3139e055047 (patch) | |
| tree | 35475448270c8b7d385945b3ce1a67d641d543c4 /mrbgems/mruby-struct | |
| parent | 877e16501c70f9543af5f72ee3ea6e16ed0060f0 (diff) | |
| download | mruby-3554a41a5445cb8e89d365ac27bed3139e055047.tar.gz mruby-3554a41a5445cb8e89d365ac27bed3139e055047.zip | |
Remove unnecessary initialization of a local variable.
Diffstat (limited to 'mrbgems/mruby-struct')
| -rw-r--r-- | mrbgems/mruby-struct/src/struct.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mrbgems/mruby-struct/src/struct.c b/mrbgems/mruby-struct/src/struct.c index c5fd34754..1d4fdca92 100644 --- a/mrbgems/mruby-struct/src/struct.c +++ b/mrbgems/mruby-struct/src/struct.c @@ -276,7 +276,6 @@ mrb_struct_s_def(mrb_state *mrb, mrb_value klass) mrb_int argc; name = mrb_nil_value(); - rest = mrb_nil_value(); mrb_get_args(mrb, "*&", &argv, &argc, &b); if (argc == 0) { /* special case to avoid crash */ rest = mrb_ary_new(mrb); |
