Skip to content

Commit

Permalink
* random.c (random_rand): suppress a warning.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Jan 5, 2011
1 parent 5528903 commit be7e8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion random.c
Expand Up @@ -1053,7 +1053,7 @@ static VALUE
random_rand(int argc, VALUE *argv, VALUE obj)
{
rb_random_t *rnd = get_rnd(obj);
VALUE vmax, beg = Qundef, end, v;
VALUE vmax, beg = Qundef, end = Qundef, v;
int excl = 0;

if (argc == 0) {
Expand Down

0 comments on commit be7e8ca

Please sign in to comment.