This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: the tag cluster has been created


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=963587d79bd93cf75acc66191fa1291c9c19ca16
Commit:        963587d79bd93cf75acc66191fa1291c9c19ca16
Parent:        e509e2c22729681356a1e0ea333b9eca40a8b218
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Wed Jan 21 10:55:41 2009 +0000
Committer:     Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Wed Jan 21 10:55:41 2009 +0000

cman: Remove redundant variables.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
 cman/cman_tool/main.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/cman/cman_tool/main.c b/cman/cman_tool/main.c
index 61196ae..c8c45c9 100644
--- a/cman/cman_tool/main.c
+++ b/cman/cman_tool/main.c
@@ -199,9 +199,6 @@ static void show_status(void)
 	struct cman_node_address addrs[MAX_INTERFACES];
 	int quorate;
 	int i;
-	int j;
-	int portnum;
-	char *addrptr;
 
 	h = open_cman_handle(0);
 
@@ -318,7 +315,6 @@ static int get_format_opt(const char *opt)
 static void print_node(commandline_t *comline, cman_handle_t h, int *format, struct cman_node *node)
 {
 	char member_type;
-	struct tm *ftime;
 	struct tm *jtime;
 	char jstring[1024];
 	int i,j,k;
@@ -590,7 +586,7 @@ static void version(commandline_t *comline)
 	if ((result = cman_get_version(h, &ver)))
 		die("can't get version: %s", cman_error(errno));
 
-	if (!comline->config_version) {
+	if (!comline->config_version_opt) {
 		printf("%d.%d.%d config %d\n", ver.cv_major, ver.cv_minor, ver.cv_patch,
 		       ver.cv_config);
 		goto out;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]