diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2010-10-25 12:59:24 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2010-10-25 12:59:24 +0000 |
commit | 321ae653b64e7f2e6e230761eccb719cc9696b9f (patch) | |
tree | 68172092e06778c1f379020067c52a23ae6c2980 /daemons/cmirrord/cluster.c | |
parent | 30b36dc0e8c93e7c61efd8aadfa5c63d2cab77f8 (diff) | |
download | lvm2-321ae653b64e7f2e6e230761eccb719cc9696b9f.tar.gz lvm2-321ae653b64e7f2e6e230761eccb719cc9696b9f.tar.xz lvm2-321ae653b64e7f2e6e230761eccb719cc9696b9f.zip |
Fix missing initilisation to 0
Add missing init value for variable 'found' which is later tested and may
have contained some garbage value.
Diffstat (limited to 'daemons/cmirrord/cluster.c')
-rw-r--r-- | daemons/cmirrord/cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/cmirrord/cluster.c b/daemons/cmirrord/cluster.c index dddaec93..b6c925aa 100644 --- a/daemons/cmirrord/cluster.c +++ b/daemons/cmirrord/cluster.c @@ -129,7 +129,7 @@ int cluster_send(struct clog_request *rq) { int r; int count=0; - int found; + int found = 0; struct iovec iov; struct clog_cpg *entry; |