]> granicus.if.org Git - postgresql/commit
Suppress compiler warning about unportable pointer value.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 5 May 2017 16:46:04 +0000 (12:46 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 5 May 2017 16:46:04 +0000 (12:46 -0400)
commitb3a47cdfd692079e36d2055d7d93759e083263ca
tree05022d443d1d3eca0b7d5fa972cc7b74e1f12e3d
parent14722c69f924810ecf11769e8b9788b3f82d2a0e
Suppress compiler warning about unportable pointer value.

Setting a pointer value to "0xdeadbeef" draws a warning from some
compilers, and for good reason.  Be less cute and just set it to NULL.

In passing make some other cosmetic adjustments nearby.

Discussion: https://postgr.es/m/CAJrrPGdW3EkU-CRobvVKYf3fJuBdgWyuGeAbNzAQ4yBh+bfb_Q@mail.gmail.com
src/backend/replication/logical/proto.c