Mark variable used only in assertion with PG_USED_FOR_ASSERTS_ONLY
Tomas Vondra <tomas.vondra@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/geo_ops.c | modified | +3 −2 |