Re: Fix warning: ‘startpos’ may be used uninitialized in function ‘results_differ’

From: m(dot)litsarev(at)postgrespro(dot)ru
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Ewan Young <kdbase(dot)hack(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Fix warning: ‘startpos’ may be used uninitialized in function ‘results_differ’
Date: 2026-06-16 15:22:44
Message-ID: 1c4024c07a7334c302b220c47e4f7ffa@postgrespro.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> ...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.

Mikhail

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-06-16 15:23:31 Re: Direction for test frameworks: Perl TAP vs. Python/pytest
Previous Message Jacob Champion 2026-06-16 15:17:06 Re: [PATCH v1] Add ssl_alt_cert_file/ssl_alt_key_file for dual RSA+ECDSA certificate support