Skip to content

Commit d3f7f04

Browse files
byrootk0kubun
andcommitted
Fix a -Wreturn-type warning
Fix: #843 Co-Authored-By: Takashi Kokubun <[email protected]>
1 parent 3187c88 commit d3f7f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/json/ext/generator/generator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,7 @@ static VALUE cState_allow_duplicate_key_p(VALUE self)
18461846
return Qtrue;
18471847
case JSON_DEPRECATED:
18481848
return Qnil;
1849-
case JSON_RAISE:
1849+
default:
18501850
return Qfalse;
18511851
}
18521852
}

0 commit comments

Comments
 (0)