1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* parse.y (void_expr_gen): add 'possibly' to warning message.

[ruby-core:31611]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2010-08-05 08:18:32 +00:00
parent 36992251c3
commit b35f5db57e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Aug 5 17:11:43 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (void_expr_gen): add 'possibly' to warning message.
[ruby-core:31611]
Thu Aug 5 16:57:20 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dir.c (glob_make_pattern): fold continuous PLAINs to get rid of

View file

@ -8537,7 +8537,7 @@ void_expr_gen(struct parser_params *parser, NODE *node)
int line = ruby_sourceline;
ruby_sourceline = nd_line(node);
rb_warnS("useless use of %s in void context", useless);
rb_warnS("possibly useless use of %s in void context", useless);
ruby_sourceline = line;
}
}