[pgpool-committers: 5595] 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_6_STABLE

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

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



More information about the pgpool-committers mailing list