summaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
authorAndres Freund2025-04-04 19:15:39 +0000
committerAndres Freund2025-04-06 16:07:02 +0000
commit57dec20fd4691900fbe118699d32640fc538dc20 (patch)
tree0a06038dd8d608e5034dcf53bd4adabebb713ed9 /src/include/postgres.h
parent8ab6ef2bb8d9a00d205742932eb0b6daf62b34e0 (diff)
aio: Avoid spurious coverity warning
PgAioResult.result is never accessed in the relevant path, but coverity complains about an uninitialized access anyway. So just zero-initialize the whole thing. While at it, reduce the scope of the variable. Reported-by: Ranier Vilela <ranier.vf@gmail.com> Reviewed-by: Noah Misch <noah@leadboat.com> Discussion: https://postgr.es/m/CAEudQApsKqd-s+fsUQ0OmxJAMHmBSXxrAz3dCs+uvqb3iRtjSw@mail.gmail.com
Diffstat (limited to 'src/include/postgres.h')
0 files changed, 0 insertions, 0 deletions