From 24d2b2680a8d0e01b30ce8a41c4eb3b47aca5031 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Wed, 13 Apr 2022 19:14:20 +0200 Subject: 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 Discussion: https://postgr.es/m/20220411020336.GB26620@telsasoft.com Discussion: https://postgr.es/m/attachment/133167/0016-Extraneous-blank-lines.patch --- src/common/jsonapi.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/common/jsonapi.c') 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) -- cgit v1.2.3