Fix silly initializations (cosmetic only).
Tom Lane <tgl@sss.pgh.pa.us>
Fix silly initializations (cosmetic only). Initializing a pointer to "false" isn't per project style, and reportedly some compilers warn about it (though I've not seen any such warnings in the buildfarm). Seems to have come in with commit ff11e7f4b, so back-patch to v12 where that was added. Didier Gautheron Discussion: https://postgr.es/m/CAJRYxu+XQuM0qnSqt1Ujztu6fBPzMMAT3VEn6W32rgKG6A2Fsw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/trigger.c | modified | +2 −2 |
Discussion
- [PATCH] gcc warning 'expression which evaluates to zero treated as a null pointer' 5 messages · 2019-11-13 → 2019-11-14