pgsql: Suppress -Wunused-result warning for strtol().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Suppress -Wunused-result warning for strtol().
Дата
Msg-id E1bZkki-0007YU-LD@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Suppress -Wunused-result warning for strtol().

I'm not sure which bozo thought it's a problem to use strtol() only
for its endptr result, but silence the warning using same method
used elsewhere.

Report: <f845d3a6-5328-3e2a-924f-f8e91aa2b6d2@2ndquadrant.com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4bc4cfe3bd186b4a1d1b01279bfd0e6ab11268b2

Modified Files
--------------
src/backend/utils/adt/dbsize.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Suppress -Wunused-result warning for strtol().
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve parsetree representation of special functions such as CU