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

Suppress probably impossible maybe-uninitialized warning

This commit is contained in:
Nobuyoshi Nakada 2020-05-11 02:26:31 +09:00
parent 5d430c1b34
commit 4a24cd8eb3
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -841,7 +841,7 @@ refine_sym_proc_call(RB_BLOCK_CALL_FUNC_ARGLIST(yielded_arg, callback_arg))
{
VALUE obj;
ID mid;
const rb_callable_method_entry_t *me;
const rb_callable_method_entry_t *me = 0; /* for hidden object case */
rb_execution_context_t *ec;
const VALUE symbol = RARRAY_AREF(callback_arg, 0);
const VALUE refinements = RARRAY_AREF(callback_arg, 1);