ruby-changes:62886
From: Kazuhiro <ko1@a...>
Date: Fri, 11 Sep 2020 11:02:55 +0900 (JST)
Subject: [ruby-changes:62886] 406559a268 (master): Add missing break
https://git.ruby-lang.org/ruby.git/commit/?id=406559a268 From 406559a268c0968be5497e6bc0513aa6fe7b0373 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Fri, 11 Sep 2020 11:01:30 +0900 Subject: Add missing break pointed out by Coverity Scan diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c index 35a7282..f81855c 100644 --- a/ext/objspace/objspace_dump.c +++ b/ext/objspace/objspace_dump.c @@ -191,6 +191,7 @@ dump_append_string_value(struct dump_config *dc, VALUE obj) https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace_dump.c#L191 switch ((c = value[i])) { case '\\': dump_append(dc, "\\\\"); + break; case '"': dump_append(dc, "\\\""); break; -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/