Re: New compiler warning

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: New compiler warning
Дата
Msg-id CAJ7c6TNMnvYy3tEr+ZNo7YpSocfdoJ0sD7Vx_pnDX61KRUx6fQ@mail.gmail.com
обсуждение исходный текст
Ответ на New compiler warning  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: New compiler warning  (David Steele <david@pgmasters.net>)
Список pgsql-hackers
Hi,

> I am seeing a new gcc 12.2.0 compiler warning from
> src/backend/commands/sequence.c:

Yep, the compiler is just not smart enough to derive that this
actually is not going to happen.

Here is a proposed fix.

-- 
Best regards,
Aleksander Alekseev

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: New compiler warning
Следующее
От: Jelte Fennema
Дата:
Сообщение: Re: Allow specifying a dbname in pg_basebackup connection string