diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-01-23 11:09:00 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-01-23 11:09:25 -0500 |
commit | 0cbc50737864177a29430be41e5b134a29e77554 (patch) | |
tree | dc2ad97df4207e7c31e8700014cdf6aa0e583edb /src/common/jsonapi.c | |
parent | 4d8c4d2061f90db009ec834308e260fb5ca1e885 (diff) | |
download | postgresql-0cbc50737864177a29430be41e5b134a29e77554.tar.gz postgresql-0cbc50737864177a29430be41e5b134a29e77554.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/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions