Re: Fix warning: ‘startpos’ may be used uninitialized in function ‘results_differ’
Heikki Linnakangas <hlinnaka@iki.fi>
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: m.litsarev@postgrespro.ru
Cc: Ewan Young <kdbase.hack@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2026-06-17T06:03:28Z
Lists: pgsql-hackers
On 16/06/2026 18:22, m.litsarev@postgrespro.ru wrote: >> ...I propose the attached, to bail out if the fopen() fails. (As the >> original patch, this looks a lot smaller with "diff -w") > I agree the v2 patch is even better. Committed, thanks! - Heikki
Commits
-
Silence uninitialized variable warning with some compiler versions
- f29299c42b0b 19 (unreleased) landed
-
pg_regress: Include diffs in TAP output
- 5720ae014364 19 (unreleased) cited