1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-01 14:21:49 +03:00

Remove useless unconstify() call

This should have been part of 67c0ef9752 but was apparently forgotten
there.
This commit is contained in:
Peter Eisentraut 2024-07-25 11:38:05 +02:00
parent 5f03da8518
commit b5006abcdc

View File

@ -154,7 +154,7 @@ WriteDataToArchiveGzip(ArchiveHandle *AH, CompressorState *cs,
{
GzipCompressorState *gzipcs = (GzipCompressorState *) cs->private_data;
gzipcs->zp->next_in = (void *) unconstify(void *, data);
gzipcs->zp->next_in = data;
gzipcs->zp->avail_in = dLen;
DeflateCompressorCommon(AH, cs, false);
}