Skip to content

Commit

Permalink
Fill out missing initializers in Argument constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Phoenix committed Mar 30, 2010
1 parent acf5020 commit f2c4373
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions vm/arguments.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,25 @@ namespace rubinius {
{}

Arguments(uint32_t total, Object** buffer)
: recv_(0)
: recv_(Qnil)
, block_(Qnil)
, total_(total)
, arguments_(buffer)
, argument_container_(0)
{}

Arguments()
: total_(0)
: recv_(Qnil)
, block_(Qnil)
, total_(0)
, arguments_(0)
, argument_container_(0)
{}

Arguments(Array* ary) {
Arguments(Array* ary)
: recv_(Qnil)
, block_(Qnil)
{
use_array(ary);
}

Expand Down

0 comments on commit f2c4373

Please sign in to comment.