diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-04-06 11:37:09 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-04-06 11:37:09 -0400 |
commit | 2e4ccf1b4508cc337bb4d0afff1e32a049d549fc (patch) | |
tree | 531b8fbd5a7c806c7a49cc4c00f1c1dbdd8cd73c /src/tutorial/funcs.c | |
parent | 5e1915439085014140314979c4dd5e23bd677cac (diff) | |
download | postgresql-2e4ccf1b4508cc337bb4d0afff1e32a049d549fc.tar.gz postgresql-2e4ccf1b4508cc337bb4d0afff1e32a049d549fc.zip |
Use "(void)" to mark pgstat_lock_entry(..., false) calls.
This should silence Coverity's complaints about the result being
sometimes ignored.
I'm inclined to think that these routines are simply misdesigned,
because sometimes it's okay to ignore the result and sometimes it
isn't, and we have no way to enforce the latter. But for now
I just added a comment.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions