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

Поиск
Список
Период
Сортировка
От Ranier Vilela
Тема Re: Avoid unused value (src/fe_utils/print.c)
Дата
Msg-id CAEudQArM_4ehsyCJpcS+s3Ys8P_J9cY0t_Oh_C14h2LJQGfx2w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Avoid unused value (src/fe_utils/print.c)  (Alexander Lakhin <exclusion@gmail.com>)
Список pgsql-hackers
Em sáb., 3 de jun. de 2023 às 09:00, Alexander Lakhin <exclusion@gmail.com> escreveu:
Hello Ranier,

03.06.2023 13:14, Ranier Vilela wrote:
> Hi,
>
> This is for Postgres 17 (head).
>
> Per Coverity.
> At function print_unaligned_text, variable "need_recordsep", is
> unnecessarily set to true and false.

Clang' scan-build detects 58 errors "Dead assignment", including that one.
Maybe it would be more sensible to eliminate all errors of this class?
Hi Alexander,

Sure.
I hope that when you or I are a committer,
we can fix a whole class of bugs together.

best regards,
Ranier Vilela

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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [PATCH] Slight improvement of worker_spi.c example
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: Should "REGRESS_OPTS = --temp-config" be working for 3rd party extensions?