public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: the tag cluster has been created
@ 2009-01-22 5:07 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-01-22 5:07 UTC (permalink / raw)
To: cluster-cvs-relay
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-22 5:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-22 5:07 cluster: the tag cluster has been created Fabio M. Di Nitto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).