postgresql/src/backend/optimizer/geqo
Tom Lane ef4edf88df 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
2022-01-23 11:09:19 -05:00
..
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
geqo_copy.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
geqo_cx.c Make the order of the header file includes consistent in backend modules. 2019-11-12 08:30:16 +05:30
geqo_erx.c Make the order of the header file includes consistent in backend modules. 2019-11-12 08:30:16 +05:30
geqo_eval.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
geqo_main.c Suppress variable-set-but-not-used warning from clang 13. 2022-01-23 11:09:19 -05:00
geqo_misc.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
geqo_mutation.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
geqo_ox1.c Final pgindent + perltidy run for v10. 2017-08-14 17:29:33 -04:00
geqo_ox2.c Final pgindent + perltidy run for v10. 2017-08-14 17:29:33 -04:00
geqo_pmx.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
geqo_pool.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
geqo_px.c Final pgindent + perltidy run for v10. 2017-08-14 17:29:33 -04:00
geqo_random.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
geqo_recombination.c Final pgindent + perltidy run for v10. 2017-08-14 17:29:33 -04:00
geqo_selection.c Update copyright for 2021 2021-01-02 13:06:25 -05:00