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:
@@ -1088,8 +1088,6 @@ gistFindCorrectParent(Relation r, GISTInsertStack *child)
|
||||
LockBuffer(child->parent->buffer, GIST_EXCLUSIVE);
|
||||
gistFindCorrectParent(r, child);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -43,8 +43,6 @@ generic_desc(StringInfo buf, XLogReaderState *record)
|
||||
else
|
||||
appendStringInfo(buf, "offset %u, length %u", offset, length);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -2436,6 +2436,4 @@ PrepareRedoRemove(TransactionId xid, bool giveWarning)
|
||||
if (gxact->ondisk)
|
||||
RemoveTwoPhaseFile(xid, giveWarning);
|
||||
RemoveGXact(gxact);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user