mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Remove un-needed braces around single statements.
This commit is contained in:
@ -831,14 +831,10 @@ sopno stopst;
|
||||
/* how about a word boundary? */
|
||||
if ((flagch == BOL || (lastc != OUT && !ISWORD(lastc))) &&
|
||||
(c != OUT && ISWORD(c)))
|
||||
{
|
||||
flagch = BOW;
|
||||
}
|
||||
if ((lastc != OUT && ISWORD(lastc)) &&
|
||||
(flagch == EOL || (c != OUT && !ISWORD(c))))
|
||||
{
|
||||
flagch = EOW;
|
||||
}
|
||||
if (flagch == BOW || flagch == EOW)
|
||||
{
|
||||
st = step(m->g, startst, stopst, st, flagch, st);
|
||||
@ -927,14 +923,10 @@ sopno stopst;
|
||||
/* how about a word boundary? */
|
||||
if ((flagch == BOL || (lastc != OUT && !ISWORD(lastc))) &&
|
||||
(c != OUT && ISWORD(c)))
|
||||
{
|
||||
flagch = BOW;
|
||||
}
|
||||
if ((lastc != OUT && ISWORD(lastc)) &&
|
||||
(flagch == EOL || (c != OUT && !ISWORD(c))))
|
||||
{
|
||||
flagch = EOW;
|
||||
}
|
||||
if (flagch == BOW || flagch == EOW)
|
||||
{
|
||||
st = step(m->g, startst, stopst, st, flagch, st);
|
||||
|
@ -1643,13 +1643,9 @@ sopno pos;
|
||||
for (i = 1; i < NPAREN; i++)
|
||||
{
|
||||
if (p->pbegin[i] >= pos)
|
||||
{
|
||||
p->pbegin[i]++;
|
||||
}
|
||||
if (p->pend[i] >= pos)
|
||||
{
|
||||
p->pend[i]++;
|
||||
}
|
||||
}
|
||||
|
||||
memmove((char *) &p->strip[pos + 1], (char *) &p->strip[pos],
|
||||
|
Reference in New Issue
Block a user