ext/RMagick/rmutil.c in rmagick-4.2.1 vs ext/RMagick/rmutil.c in rmagick-4.2.2

- old
+ new

@@ -1006,10 +1006,9 @@ argv[0] = img; opt_args = rb_class_new_instance(1, argv, optional_method_arguments); if (rb_proc_arity(rb_block_proc()) == 0) { - rb_warn("passing a block without an image argument is deprecated"); rb_obj_instance_eval(0, NULL, opt_args); } else { rb_yield(opt_args);