Windows build warnings

Поиск
Список
Период
Сортировка
От Greg Nancarrow
Тема Windows build warnings
Дата
Msg-id CAJcOf-c+KniGAp31pn8TC=9a-WHXpkX-3+8-2BkaCsZchhu=8w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Windows build warnings  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
Hi,

I'm seeing the following annoying build warnings on Windows (without
asserts, latest Postgres source):

pruneheap.c(858): warning C4101: 'htup': unreferenced local variable
pruneheap.c(870): warning C4101: 'tolp': unreferenced local variable

I notice that these are also reported here: [1]

I've attached a patch to fix these warnings.
(Note that currently PG_USED_FOR_ASSERTS_ONLY is defined as the unused
attribute, which is only supported by GCC)

[1]: https://www.postgresql.org/message-id/CAH2-WznwWU+9on9nZCnZtk7uA238MCTgPxYr1Ty7U_Msn5ZGwQ@mail.gmail.com


Regards,
Greg Nancarrow
Fujitsu Australia

Вложения

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

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: Replication & recovery_min_apply_delay
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Windows build warnings