Re: [HACKERS] [PATCH] Removes uninitialized variable compiler warning

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] [PATCH] Removes uninitialized variable compiler warning
Дата
Msg-id 19126.1490029470@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [HACKERS] [PATCH] Removes uninitialized variable compiler warning  (Todd Sedano <tsedano@pivotal.io>)
Ответы Re: [HACKERS] [PATCH] Removes uninitialized variable compiler warning
Список pgsql-hackers
Todd Sedano <tsedano@pivotal.io> writes:
> This patch removes a compiler warning.
> warning: variable 'lenlemm' is uninitialized when used here
> [-Wuninitialized]

Hm, on what compiler?  AFAICS, that parsetext() function hasn't
changed meaningfully since 2007, and nobody complained of
uninitialized-variable warnings in it before.

We're generally willing to try to silence such warnings on mainstream
compilers, but not on weird ones ...
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Partition-wise join for join between (declaratively)partitioned tables
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: [HACKERS] Partition-wise join for join between (declaratively)partitioned tables