diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2020-09-11 11:01:30 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2020-09-11 11:02:24 +0900 |
commit | 406559a268c0968be5497e6bc0513aa6fe7b0373 (patch) | |
tree | c8e72326e848a2b34d3ac8443db8fa820e436c8c /ext/objspace | |
parent | d55c914f0fe951b6f742b1b7247011dd681350a1 (diff) | |
download | ruby-406559a268c0968be5497e6bc0513aa6fe7b0373.tar.gz |
Add missing break
pointed out by Coverity Scan
Diffstat (limited to 'ext/objspace')
-rw-r--r-- | ext/objspace/objspace_dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c index 35a7282500..f81855c148 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) switch ((c = value[i])) { case '\\': dump_append(dc, "\\\\"); + break; case '"': dump_append(dc, "\\\""); break; |