Thread: pgsql: Explicitly ignore guaranteed-true result from pgstat_lock_entry(

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3c702b3ed1519624d50e7a42283b8d481a579f77

Modified Files
--------------
src/backend/utils/activity/pgstat_shmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)