aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHash.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-01-23 11:09:00 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-01-23 11:09:30 -0500
commit68cc72d4d55cd1d45c24f0f3fccc1f445b6ad0da (patch)
tree666a32539c6cbec7524966b67bfb6b7960dc1408 /src/backend/executor/nodeHash.c
parent93854d5b1bf340858a46a9696320dac1065b9c32 (diff)
downloadpostgresql-68cc72d4d55cd1d45c24f0f3fccc1f445b6ad0da.tar.gz
postgresql-68cc72d4d55cd1d45c24f0f3fccc1f445b6ad0da.zip
Suppress variable-set-but-not-used warning from clang 13.
In the normal configuration where GEQO_DEBUG isn't defined, recent clang versions have started to complain that geqo_main.c accumulates the edge_failures count but never does anything with it. As a minimal back-patchable fix, insert a void cast to silence this warning. (I'd speculated about ripping out the GEQO_DEBUG logic altogether, but I don't think we'd wish to back-patch that.) Per recently-established project policy, this is a candidate for back-patching into out-of-support branches: it suppresses an annoying compiler warning but changes no behavior. Hence, back-patch all the way to 9.2. Discussion: https://postgr.es/m/CA+hUKGLTSZQwES8VNPmWO9AO0wSeLt36OCPDAZTccT1h7Q7kTQ@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeHash.c')
0 files changed, 0 insertions, 0 deletions