master - cleanup: avoid compiler warn
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=037c234eaaabd4989e769e1f9db47c8452fa4966 Commit: 037c234eaaabd4989e769e1f9db47c8452fa4966 Parent: 73cda0437f8added751716c9bbae33fe321b4963 Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu Mar 29 18:49:42 2018 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Apr 20 12:17:01 2018 +0200
cleanup: avoid compiler warn
When variable is unused...
--- daemons/cmirrord/cluster.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
daemons/cmirrord/cluster.c +2 -0
@@ -166,7 +166,9 @@ int cluster_send(struct clog_request *rq) {int r;int found =0 ; +#if CMIRROR_HAS_CHECKPOINT int count =0 ; +#endif struct iovec iov;struct clog_cpg *entry;