From a79e6c5ca1af54465d55f3d494398e392e20e4b9 Mon Sep 17 00:00:00 2001 From: Raja R Harinath Date: Sat, 19 Jun 2010 20:28:53 +0530 Subject: Initialize lastmark Ensure that marks start at 1, now that they're visible in the logs --- src/repository.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repository.cpp b/src/repository.cpp index 426eeff..29337eb 100644 --- a/src/repository.cpp +++ b/src/repository.cpp @@ -52,7 +52,7 @@ public: static ProcessCache processCache; Repository::Repository(const Rules::Repository &rule) - : name(rule.name), commitCount(0), outstandingTransactions(0), processHasStarted(false) + : name(rule.name), commitCount(0), outstandingTransactions(0), lastmark(0), processHasStarted(false) { foreach (Rules::Repository::Branch branchRule, rule.branches) { Branch branch; -- cgit v1.2.1