1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-10 17:42:29 +03:00

Remove useless "return;" lines

Discussion: https://postgr.es/m/20191128144653.GA27883@alvherre.pgsql
This commit is contained in:
Alvaro Herrera
2019-11-28 16:48:37 -03:00
parent 8a7e9e9dad
commit 3974c4a724
40 changed files with 0 additions and 96 deletions

View File

@@ -1088,8 +1088,6 @@ gistFindCorrectParent(Relation r, GISTInsertStack *child)
LockBuffer(child->parent->buffer, GIST_EXCLUSIVE);
gistFindCorrectParent(r, child);
}
return;
}
/*

View File

@@ -43,8 +43,6 @@ generic_desc(StringInfo buf, XLogReaderState *record)
else
appendStringInfo(buf, "offset %u, length %u", offset, length);
}
return;
}
/*

View File

@@ -2436,6 +2436,4 @@ PrepareRedoRemove(TransactionId xid, bool giveWarning)
if (gxact->ondisk)
RemoveTwoPhaseFile(xid, giveWarning);
RemoveGXact(gxact);
return;
}

View File

@@ -3428,7 +3428,6 @@ CheckTransactionBlock(bool isTopLevel, bool throwError, const char *stmtType)
/* translator: %s represents an SQL statement name */
errmsg("%s can only be used in transaction blocks",
stmtType)));
return;
}
/*