pgsql: Suppress uninitialized-variable warnings.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Suppress uninitialized-variable warnings.
Дата
Msg-id E1alK2Z-0003EM-Bm@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Suppress uninitialized-variable warnings.

My compiler doesn't like the lack of initialization of "flag", and
I think it's right: if there were zero keys we'd have an undefined
result.  The AND of zero items is TRUE, so initialize to TRUE.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/818e59373625d194bdec89631b661c4355d15f13

Modified Files
--------------
src/backend/utils/adt/geo_spgist.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: pgsql: Bump catalog version, forget in acdf2a8b372aec1da09370fca77ff7dc
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve portability of I/O behavior for the geometric types.