[pgpool-committers: 5591] pgpool: Suppress compiler warnings.

Tatsuo Ishii ishii at sraoss.co.jp
Sat Mar 30 21:34:07 JST 2019


Suppress compiler warnings.

Suppress compiler warnings regarding write(2) returns values being
ignored.  Since they are used in signal handlers, it's impossible to
print info about errors. To shut up the warnings, create a static
variable and assign the return values from write().

Branch
------
V3_5_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=ab6c527341b13d6611ef584703586c27dbb2ded7

Modified Files
--------------
src/main/pgpool_main.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)



More information about the pgpool-committers mailing list