mruby-errno (mrb_sce_sys_fail): remove redundant assignment

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-01-04 10:08:22 +09:00
parent 7861422cbe
commit 2ce5c52726
-1
View File
@@ -288,7 +288,6 @@ mrb_sce_sys_fail(mrb_state *mrb, mrb_value cls)
if (argc == 1) {
msg = mrb_nil_value();
}
exc = mrb_obj_value(e);
mrb_sce_init(mrb, exc, msg, no);
mrb_exc_raise(mrb, exc);
return mrb_nil_value(); /* NOTREACHED */