pgsql: Avoid compiler warnings due to possibly unused variables

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Avoid compiler warnings due to possibly unused variables
Дата
Msg-id E1QXJRd-0008Pp-A3@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid compiler warnings due to possibly unused variables

gcc 4.6 complains about these because of the new option
-Wunused-but-set-variable which comes in with -Wall, so cast them to
void, which avoids the warning.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7357558fc8866e3a449aa9473c419b593d67b5b6

Modified Files
--------------
src/backend/nodes/read.c      |    1 +
src/backend/nodes/readfuncs.c |    3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Start using flexible array members
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Index tuple data arrays using Anum_xxx symbolic constants instea