[pgpool-committers: 5592] 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
------
V4_0_STABLE

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

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



More information about the pgpool-committers mailing list