diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-04-13 19:14:20 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-04-13 19:16:02 +0200 |
commit | 24d2b2680a8d0e01b30ce8a41c4eb3b47aca5031 (patch) | |
tree | d61acff06791482d923b8bf6af3458b1ec89755d /src/common/jsonapi.c | |
parent | ed0fbc8e5ac995eada933250c1d5535336442b97 (diff) | |
download | postgresql-24d2b2680a8d0e01b30ce8a41c4eb3b47aca5031.tar.gz postgresql-24d2b2680a8d0e01b30ce8a41c4eb3b47aca5031.zip |
Remove extraneous blank lines before block-closing braces
These are useless and distracting. We wouldn't have written the code
with them to begin with, so there's no reason to keep them.
Author: Justin Pryzby <pryzby@telsasoft.com>
Discussion: https://postgr.es/m/20220411020336.GB26620@telsasoft.com
Discussion: https://postgr.es/m/attachment/133167/0016-Extraneous-blank-lines.patch
Diffstat (limited to 'src/common/jsonapi.c')
-rw-r--r-- | src/common/jsonapi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/jsonapi.c b/src/common/jsonapi.c index 6666077a934..98e4ef09426 100644 --- a/src/common/jsonapi.c +++ b/src/common/jsonapi.c @@ -658,7 +658,6 @@ json_lex(JsonLexContext *lex) lex->token_type = JSON_TOKEN_FALSE; else return JSON_INVALID_TOKEN; - } } /* end of switch */ } @@ -856,7 +855,6 @@ json_lex_string(JsonLexContext *lex) lex->token_terminator = s + pg_encoding_mblen_bounded(lex->input_encoding, s); return JSON_ESCAPING_INVALID; } - } else if (lex->strval != NULL) { @@ -865,7 +863,6 @@ json_lex_string(JsonLexContext *lex) appendStringInfoChar(lex->strval, *s); } - } if (hi_surrogate != -1) |