Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings
Дата
Msg-id 1138043.1752620290@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings
Список pgsql-hackers
Peter Geoghegan <pg@bowt.ie> writes:
> In the past, it was often necessary to work around MSVC's inability to
> see that a block containing elog(ERROR) doesn't actually need to
> initialize variables that'll never actually be used in code that comes
> after that block. We still have many "keep compiler quiet" variable
> initializations due to this.

> Is that still something that we need to worry about?

Good question.  It's not very clear what set of compiler versions
people are still using, but maybe it'd be okay to stop worrying
about suppressing such warnings.

            regards, tom lane



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