Remove extraneous semicolon from uses of relptr_declare().
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Dec 2016 01:27:55 +0000 (20:27 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Dec 2016 01:27:55 +0000 (20:27 -0500)
commit3ebf2b45454a5fb74e6516ab4915f7a3d44d544f
tree291bfc895a49546ca05d4d06e0c6fa320dc27b96
parent44a977f55f33834a2fe0d1d9bd5eeb29ce67e914
Remove extraneous semicolon from uses of relptr_declare().

If we're going to write a semicolon after calls of relptr_declare(),
then we don't need one inside the macro, and removing it suppresses
"empty declaration" warnings from pickier compilers (eg pademelon).

While at it, we might as well use relptr() inside relptr_declare(),
because otherwise that macro would likely go unused altogether.

Also improve the comment, which I for one found unclear,
and provide a specific example of intended usage.
src/include/utils/relptr.h