1
0
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:
Bruce Momjian
1998-06-15 19:30:31 +00:00
parent 27db9ecd0b
commit 6bd323c6b3
224 changed files with 221 additions and 2504 deletions

View File

@ -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);

View File

@ -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],