[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [PATCH] rgmanager: Fix uninitialized variable [RHEL6]



Resolves: rhbz#734730

Signed-off-by: Lon Hohberger <lhh 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 4e12c68..931d95e 100644
--- a/rgmanager/src/daemons/main.c
+++ b/rgmanager/src/daemons/main.c
@@ -802,7 +802,7 @@ rgmanager_disabled(int ccsfd)
 {
 	char *v;
 	int disabled = 0;
-	int internal;
+	int internal = 0;
 
 	if (ccsfd < 0) {
 		internal = 1;
-- 
1.7.3.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]