1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Fix missing initilisation to 0

Add missing init value for variable 'found' which is later tested and may
have contained some garbage value.
This commit is contained in:
Zdenek Kabelac 2010-10-25 12:59:24 +00:00
parent 30b36dc0e8
commit 321ae653b6
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.75 - Version 2.02.75 -
===================================== =====================================
Fix missing initilization in cluser_send() function rom cmirrord.
Fix pointer for VG name in _pv_resize_single error code path. Fix pointer for VG name in _pv_resize_single error code path.
Fix warning for changed alignment requirements for dmeventd read/write func. Fix warning for changed alignment requirements for dmeventd read/write func.
Add global/metadata_read_only to use unrepaired metadata in read-only cmds. Add global/metadata_read_only to use unrepaired metadata in read-only cmds.

View File

@ -129,7 +129,7 @@ int cluster_send(struct clog_request *rq)
{ {
int r; int r;
int count=0; int count=0;
int found; int found = 0;
struct iovec iov; struct iovec iov;
struct clog_cpg *entry; struct clog_cpg *entry;