diff --git a/persistent-data/run_set.h b/persistent-data/run_set.h index b3098d6..68a5f46 100644 --- a/persistent-data/run_set.h +++ b/persistent-data/run_set.h @@ -100,8 +100,11 @@ namespace base { else { typename rset::const_iterator b = runs_.begin(); - // Some versions of gcc give a spurious warning here. - maybe last = b->end_; + // Some versions of gcc give a spurious + // warning here. So we initialize it to + // get round it. + maybe last(0); + last = b->end_; if (b->begin_) replacement.insert(run(maybe(), *(b->begin_)));