Fix compiler warning in rangetypes_spgist.c.
Tom Lane <tgl@sss.pgh.pa.us>
Fix compiler warning in rangetypes_spgist.c. On gcc 7.2.0, comparing pointer to (Datum) 0 produces a warning. Treat it as a simple pointer to avoid that; this is more consistent with comparable code elsewhere, anyway. Tomas Vondra Discussion: https://postgr.es/m/99410021-61ef-9a9a-9bc8-f733ece637ee@2ndquadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/rangetypes_spgist.c | modified | +1 −1 |
Discussion
- spgist rangetypes compiler warning (gcc 7.2.0) 3 messages · 2017-11-18