Explicitly ignore guaranteed-true result from pgstat_lock_entry().
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Apr 2022 17:22:37 +0000 (13:22 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Apr 2022 17:22:37 +0000 (13:22 -0400)
commit3c702b3ed1519624d50e7a42283b8d481a579f77
tree6eef5958a5778a2e795d81399fbc6c5cce917de8
parent93fcf2d2095674834e1ddbc6803ec043e3216afa
Explicitly ignore guaranteed-true result from pgstat_lock_entry().

With nowait passed as false, pgstat_lock_entry() must return true
so there's no need to check its result.  Coverity seems unconvinced
of this, so whack it upside the head with a (void) cast.
src/backend/utils/activity/pgstat_shmem.c