]> granicus.if.org Git - postgresql/commit
Mark variable used only in assertion with PG_USED_FOR_ASSERTS_ONLY
authorTomas Vondra <tomas.vondra@postgresql.org>
Sun, 29 Jul 2018 21:08:00 +0000 (23:08 +0200)
committerTomas Vondra <tomas.vondra@postgresql.org>
Sun, 29 Jul 2018 21:08:00 +0000 (23:08 +0200)
commitab87b8fedce3fa77ca0d684a42ecc055f189eb33
treedc54d0522a6e26dd2f64a620ae38c7fe97bd002f
parent74294c7301340eeb477343dd26d98d2f3e33bd20
Mark variable used only in assertion with PG_USED_FOR_ASSERTS_ONLY

Perpendicular lines always intersect, so the line_interpt_line() return
value in line_closept_point() was used only in an assertion, triggering
compiler warnings in non-assert builds.
src/backend/utils/adt/geo_ops.c