From a5b5e3d38478910b4b334c0f3e2c2f382ace841f Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 7 Jan 2015 08:55:17 +0900 Subject: [PATCH] No need to store master version number here --- repmgr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/repmgr.c b/repmgr.c index 6851f6af..56bc2ee1 100644 --- a/repmgr.c +++ b/repmgr.c @@ -856,8 +856,6 @@ do_standby_clone(void) char master_ident_file[MAXFILENAME] = ""; char local_ident_file[MAXFILENAME] = ""; - int master_version_num = 0; - /* * if dest_dir has been provided, we copy everything in the same path if * dest_dir is set and the master have tablespace, repmgr will stop @@ -885,7 +883,7 @@ do_standby_clone(void) /* Verify that master is a supported server version */ log_info(_("%s connected to master, checking its state\n"), progname); - master_version_num = check_server_version(conn, "master", true, NULL); + check_server_version(conn, "master", true, NULL); check_master_config(conn, true);