* [Cluster-devel] [PATCH] rgmanager: Fix uninitialized variable [RHEL6]
@ 2011-09-06 19:48 Lon Hohberger
2011-09-07 4:09 ` Fabio M. Di Nitto
0 siblings, 1 reply; 2+ messages in thread
From: Lon Hohberger @ 2011-09-06 19:48 UTC (permalink / raw)
To: cluster-devel.redhat.com
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Cluster-devel] [PATCH] rgmanager: Fix uninitialized variable [RHEL6]
2011-09-06 19:48 [Cluster-devel] [PATCH] rgmanager: Fix uninitialized variable [RHEL6] Lon Hohberger
@ 2011-09-07 4:09 ` Fabio M. Di Nitto
0 siblings, 0 replies; 2+ messages in thread
From: Fabio M. Di Nitto @ 2011-09-07 4:09 UTC (permalink / raw)
To: cluster-devel.redhat.com
ACK
On 09/06/2011 09:48 PM, Lon Hohberger wrote:
> 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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-07 4:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-06 19:48 [Cluster-devel] [PATCH] rgmanager: Fix uninitialized variable [RHEL6] Lon Hohberger
2011-09-07 4:09 ` 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 NNTP newsgroup(s).