squash another compiler warning
This commit is contained in:
parent
2331204475
commit
5fe9039d38
@ -100,8 +100,11 @@ namespace base {
|
|||||||
else {
|
else {
|
||||||
typename rset::const_iterator b = runs_.begin();
|
typename rset::const_iterator b = runs_.begin();
|
||||||
|
|
||||||
// Some versions of gcc give a spurious warning here.
|
// Some versions of gcc give a spurious
|
||||||
maybe last = b->end_;
|
// warning here. So we initialize it to
|
||||||
|
// get round it.
|
||||||
|
maybe last(0);
|
||||||
|
last = b->end_;
|
||||||
|
|
||||||
if (b->begin_)
|
if (b->begin_)
|
||||||
replacement.insert(run<T>(maybe(), *(b->begin_)));
|
replacement.insert(run<T>(maybe(), *(b->begin_)));
|
||||||
|
Loading…
Reference in New Issue
Block a user