diff --git a/daemons/cmirrord/cluster.c b/daemons/cmirrord/cluster.c index 5b8b68d60..e56d8f34b 100644 --- a/daemons/cmirrord/cluster.c +++ b/daemons/cmirrord/cluster.c @@ -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;