mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
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
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user