Skip to content
Permalink
Browse files

Default to true when no exception flag [Bug #15987]

  • Loading branch information...
nobu committed Jul 11, 2019
1 parent f74e23a commit 8745fa2ff0fbff67031bdecfdeea684b15515a2c
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/bigdecimal/bigdecimal.c
@@ -2572,7 +2572,7 @@ opts_exception_p(VALUE opts)
if (!kwds[0]) {
kwds[0] = rb_intern_const("exception");
}
rb_get_kwargs(opts, kwds, 0, 1, &exception);
if (!rb_get_kwargs(opts, kwds, 0, 1, &exception)) return 1;
switch (exception) {
case Qtrue: case Qfalse:
break;

0 comments on commit 8745fa2

Please sign in to comment.
You can’t perform that action at this time.