pgsql: Silence compiler warning in assertion-enabled builds.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Silence compiler warning in assertion-enabled builds.
Дата
Msg-id E1Uu1yH-0002Ph-67@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Silence compiler warning in assertion-enabled builds.

With -Wtype-limits, gcc correctly points out that size_t can never be < 0.
Backpatch to 9.3 and 9.2. It's been like this forever, but in <= 9.1 you got
a lot other warnings with -Wtype-limits anyway (at least with my version of
gcc).

Andres Freund

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ae8fc624066398b8a14a97c5f950ddc844657d24

Modified Files
--------------
src/pl/plpython/plpy_procedure.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Silence compiler warning in assertion-enabled builds.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Improve support for building PGXS modules with VPATH.