Initialize variables to placate compiler.
Nathan Bossart <nathan@postgresql.org>
Initialize variables to placate compiler. Since commit 012460ee93, some compilers have been warning that a couple of variables may be used uninitialized. There doesn't appear to be any actual risk, so let's just initialize these variables to 0 to silence the compiler warnings. Discussion: https://postgr.es/m/20240317192927.GA3978212%40nathanxps13
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/statscmds.c | modified | +1 −1 |
| src/backend/commands/tablecmds.c | modified | +1 −1 |
Discussion
- Make attstattarget nullable 14 messages · 2023-12-05 → 2024-03-17