pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Suppress -Wimplicit-fallthrough warnings in new jsonpath code. 2+ messages / 1 participants [nested] [flat]
* pgsql: Suppress -Wimplicit-fallthrough warnings in new jsonpath code. @ 2019-03-16 16:34 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2019-03-16 16:34 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Suppress -Wimplicit-fallthrough warnings in new jsonpath code. Per buildfarm. See commit 41c912cad for precedent. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/20f7c3d5606254d8870697f15fd7a7b4e602e1e1 Modified Files -------------- src/backend/utils/adt/jsonpath.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Suppress -Wimplicit-fallthrough warning in new LIMIT WITH TIES c @ 2020-04-11 19:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2020-04-11 19:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Suppress -Wimplicit-fallthrough warning in new LIMIT WITH TIES code. The placement of the fall-through comment in this code appears not to work to suppress the warning in recent gcc. Move it to the bottom of the case group, and add an assertion that we didn't get there through some other code path. Also improve wording of nearby comments. Julien Rouhaud, comment hacking by me Discussion: https://postgr.es/m/CAOBaU_aLdPGU5wCpaowNLF-Q8328iR7mj1yJAhMOVsdLwY+sdg@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/35cb574aa84723f4661e9fc51340130e64cb5dfc Modified Files -------------- src/backend/executor/nodeLimit.c | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-04-11 19:03 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-03-16 16:34 pgsql: Suppress -Wimplicit-fallthrough warnings in new jsonpath code. Tom Lane <tgl@sss.pgh.pa.us> 2020-04-11 19:03 pgsql: Suppress -Wimplicit-fallthrough warning in new LIMIT WITH TIES c Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox