From 47f6c22eb8d45074fad8ae531085e88f266e03dd Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Mon, 14 Sep 2020 11:46:40 +0900 Subject: [PATCH] Fix compiler warning. --- src/config/pool_config_variables.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config/pool_config_variables.c b/src/config/pool_config_variables.c index da8761ed7..7b516c086 100644 --- a/src/config/pool_config_variables.c +++ b/src/config/pool_config_variables.c @@ -4955,9 +4955,10 @@ SetPgpoolNodeId(int elevel) (errmsg("read pgpool node id file %s", pgpool_node_id_file), errdetail("pgpool node id: %s", readbuf))); } + + fclose(fd); } - fclose(fd); return true; } -- 2.39.5