OSDN Git Service

Avoid compiler warnings due to possibly unused variables
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 16 Jun 2011 20:38:46 +0000 (23:38 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 16 Jun 2011 20:43:56 +0000 (23:43 +0300)
commit7357558fc8866e3a449aa9473c419b593d67b5b6
treece6b835b96013e4883db7c40b886b9977dc06373
parentdbbba5279f66f95805c1e084e6f646d174931e56
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.
src/backend/nodes/read.c
src/backend/nodes/readfuncs.c