From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Silence compiler warning. |
Date: | 2025-03-18 14:54:23 |
Message-ID: | E1tuYKl-0036pO-0T@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Silence compiler warning.
Assorted buildfarm members are complaining about "'process_list' may
be used uninitialized in this function" since f76892c9f, presumably
because they don't trust that the switch case labels are exhaustive.
We can silence that by initializing the variable to NULL. Should
a switch fall-through actually happen, we'll get SIGSEGV at the
first use, which is as good as an Assert.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4078da6c478039bbafdd58138957dc47db545935
Modified Files
--------------
src/bin/scripts/reindexdb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2025-03-18 15:03:36 | Re: pgsql: aio: Add core asynchronous I/O infrastructure |
Previous Message | Daniel Gustafsson | 2025-03-18 14:32:53 | pgsql: Add X25519 to the default set of curves |