pgsql: Suppress "variable may be used uninitialized" warning.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress "variable may be used uninitialized" warning.
Date: 2024-04-05 14:58:44
Message-ID: E1rsl1g-000e3N-1v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress "variable may be used uninitialized" warning.

Buildfarm member caiman is showing this, which surprises me because
it's very late-model gcc (14.0.1) and ought to be smart enough to
know that elog(ERROR) doesn't return. But we're likely to see the
same from stupider compilers too, so add a dummy initialization in
our usual style.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3c5ff36aba8a3df19967d0ddc1249c63417bb9b0

Modified Files
--------------
src/backend/parser/parse_expr.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2024-04-05 16:03:15 pgsql: Allow copying files using clone/copy_file_range
Previous Message Robert Haas 2024-04-05 14:37:37 pgsql: docs: Merge separate chapters on built-in index AMs into one.