diff options
| author | Masahiko Sawada <msawada@postgresql.org> | 2025-08-05 15:30:28 -0700 |
|---|---|---|
| committer | Masahiko Sawada <msawada@postgresql.org> | 2025-08-05 15:30:28 -0700 |
| commit | b5c53b403c93393c3725558294cbf4dbfb575e42 (patch) | |
| tree | 70ebb1388dee41404c01fd64feb5ac108d019b7b /src/backend/lib/hyperloglog.c | |
| parent | 80c758a2e1d720a942610f2f889448d69ce2ce95 (diff) | |
Suppress maybe-uninitialized warning.
Following commit e035863c9a0, building with -O0 began triggering
warnings about potentially uninitialized 'workbuf' usage. While
theoretically the initialization isn't necessary since VARDATA()
doesn't access the contents of the pointed-to object, this commit
explicitly initializes the workbuf variable to suppress the warning.
Buildfarm members adder and flaviventris have shown the warning.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CAD21AoCOZxfqnNgfM5yVKJZYnOq5m2Q96fBGy1fovEqQ9V4OZA@mail.gmail.com
Diffstat (limited to 'src/backend/lib/hyperloglog.c')
0 files changed, 0 insertions, 0 deletions
