1
0
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:
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

@@ -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... */