mirror of
https://github.com/postgres/postgres.git
synced 2025-10-16 17:07:43 +03:00
Remove useless "return;" lines
Discussion: https://postgr.es/m/20191128144653.GA27883@alvherre.pgsql
This commit is contained in:
@@ -1045,8 +1045,6 @@ WriteData(Archive *AHX, const void *data, size_t dLen)
|
||||
fatal("internal error -- WriteData cannot be called outside the context of a DataDumper routine");
|
||||
|
||||
AH->WriteDataPtr(AH, data, dLen);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1461,7 +1459,6 @@ void
|
||||
archputs(const char *s, Archive *AH)
|
||||
{
|
||||
WriteData(AH, s, strlen(s));
|
||||
return;
|
||||
}
|
||||
|
||||
/* Public */
|
||||
@@ -1736,8 +1733,6 @@ ahwrite(const void *ptr, size_t size, size_t nmemb, ArchiveHandle *AH)
|
||||
|
||||
if (bytes_written != size * nmemb)
|
||||
WRITE_ERROR_EXIT;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/* on some error, we may decide to go on... */
|
||||
|
Reference in New Issue
Block a user