mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +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:
@@ -569,7 +569,6 @@ pushval_morph(Datum opaque, TSQueryParserState state, char *strval, int lenval,
|
||||
}
|
||||
|
||||
pfree(prs.words);
|
||||
|
||||
}
|
||||
else
|
||||
pushStop(state);
|
||||
@@ -720,5 +719,4 @@ websearch_to_tsquery(PG_FUNCTION_ARGS)
|
||||
PG_RETURN_DATUM(DirectFunctionCall2(websearch_to_tsquery_byid,
|
||||
ObjectIdGetDatum(cfgId),
|
||||
PointerGetDatum(in)));
|
||||
|
||||
}
|
||||
|
||||
@@ -584,7 +584,6 @@ hlparsetext(Oid cfgId, HeadlineParsedText *prs, TSQuery query, char *buf, int bu
|
||||
else
|
||||
addHLParsedLex(prs, query, lexs, NULL);
|
||||
} while (norms);
|
||||
|
||||
} while (type > 0);
|
||||
|
||||
FunctionCall1(&(prsobj->prsend), PointerGetDatum(prsdata));
|
||||
@@ -629,7 +628,6 @@ generateHeadline(HeadlineParsedText *prs)
|
||||
memcpy(ptr, prs->fragdelim, prs->fragdelimlen);
|
||||
ptr += prs->fragdelimlen;
|
||||
}
|
||||
|
||||
}
|
||||
if (wrd->replace)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user