pgsql: Silence compiler warning.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Silence compiler warning.
Дата
Msg-id E1tuYKl-0036pO-0T@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления: