summaryrefslogtreecommitdiff
path: root/ext/objspace
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-09-11 11:01:30 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-09-11 11:02:24 +0900
commit406559a268c0968be5497e6bc0513aa6fe7b0373 (patch)
treec8e72326e848a2b34d3ac8443db8fa820e436c8c /ext/objspace
parentd55c914f0fe951b6f742b1b7247011dd681350a1 (diff)
Add missing break
pointed out by Coverity Scan
Diffstat (limited to 'ext/objspace')
-rw-r--r--ext/objspace/objspace_dump.c1
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;