diff options
author | Andres Freund <andres@anarazel.de> | 2025-04-04 15:15:39 -0400 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2025-04-06 12:07:02 -0400 |
commit | 57dec20fd4691900fbe118699d32640fc538dc20 (patch) | |
tree | 0a06038dd8d608e5034dcf53bd4adabebb713ed9 /src/tutorial/funcs.c | |
parent | 8ab6ef2bb8d9a00d205742932eb0b6daf62b34e0 (diff) | |
download | postgresql-57dec20fd4691900fbe118699d32640fc538dc20.tar.gz postgresql-57dec20fd4691900fbe118699d32640fc538dc20.zip |
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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions