Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: 3a113c9b3b60f2a18a3b653b83edac5c89074af7
Parent: c899e38f3dd412dd2f8263a301805312f54fbb60
Author: Lon Hohberger <lhh(a)redhat.com>
AuthorDate: Tue Sep 6 15:41:03 2011 -0400
Committer: Lon Hohberger <lhh(a)redhat.com>
CommitterDate: Wed Sep 7 10:55:42 2011 -0400
rgmanager: Fix uninitialized variable
Resolves: rhbz#734730
Signed-off-by: Lon Hohberger <lhh(a)redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
rgmanager/src/daemons/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rgmanager/src/daemons/main.c b/rgmanager/src/daemons/main.c
index 38c7007..94047c3 100644
--- a/rgmanager/src/daemons/main.c
+++ b/rgmanager/src/daemons/main.c
@@ -798,7 +798,7 @@ rgmanager_disabled(int ccsfd)
{
char *v;
int disabled = 0;
- int internal;
+ int internal = 0;
if (ccsfd < 0) {
internal = 1;