Skip to content

Commit f228b30

Browse files
committed
parser.c: Fix indentation in json_decode_integer
1 parent 85f9b74 commit f228b30

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ext/json/ext/parser/parser.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -790,11 +790,11 @@ static VALUE json_decode_large_integer(const char *start, long len)
790790
static inline VALUE
791791
json_decode_integer(const char *start, const char *end)
792792
{
793-
long len = end - start;
794-
if (RB_LIKELY(len < MAX_FAST_INTEGER_SIZE)) {
795-
return fast_decode_integer(start, end);
796-
}
797-
return json_decode_large_integer(start, len);
793+
long len = end - start;
794+
if (RB_LIKELY(len < MAX_FAST_INTEGER_SIZE)) {
795+
return fast_decode_integer(start, end);
796+
}
797+
return json_decode_large_integer(start, len);
798798
}
799799

800800
static VALUE json_decode_large_float(const char *start, long len)

0 commit comments

Comments
 (0)