Re: Avoid unused value (src/fe_utils/print.c)

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Avoid unused value (src/fe_utils/print.c)
Дата
Msg-id ZHvB8bGGNknkRUIg@paquier.xyz
обсуждение исходный текст
Ответ на Re: Avoid unused value (src/fe_utils/print.c)  (Alexander Lakhin <exclusion@gmail.com>)
Ответы Re: Avoid unused value (src/fe_utils/print.c)  (Alexander Lakhin <exclusion@gmail.com>)
Список pgsql-hackers
On Sat, Jun 03, 2023 at 03:00:01PM +0300, Alexander Lakhin wrote:
> Clang' scan-build detects 58 errors "Dead assignment", including that one.
> Maybe it would be more sensible to eliminate all errors of this class?

Depends on if this makes any code changed a bit easier to understand I
guess, so that would be a case-by-case analysis.  Saying that, the
proposed patch seems right while it makes slightly easier to
understand the footer print part.
--
Michael

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: New Table Access Methods for Multi and Single Inserts
Следующее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Add test module for Table Access Method