Remove unnecessary casts
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 8 Dec 2022 07:51:38 +0000 (08:51 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 8 Dec 2022 07:58:15 +0000 (08:58 +0100)
commit07c29ca7fe30839a75d15b43c13b290a59a60ddf
treeeaae2e70db0e33f4f35f6306cfa7ea0bdfef2715
parent2d4f1ba6cfc2f0a977f1c30bda9848041343e248
Remove unnecessary casts

Some code carefully cast all data buffer arguments for BufFileWrite()
and BufFileRead() to void *, even though the arguments are already
void * (and AFAICT were never anything else).  Remove this unnecessary
clutter.

Discussion: https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com
src/backend/executor/nodeHashjoin.c
src/backend/utils/sort/tuplestore.c