fix some obscure rose bugs detected by static analysis
This commit is contained in:
parent
557c63a0f3
commit
64653e3cbe
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ class gcIterator {
|
|||
}
|
||||
}
|
||||
// is it a tombstone we can forget?
|
||||
if (newest_time & 0x1 && newest_time < beginning_of_time_) {
|
||||
if ((newest_time & 0x1) && newest_time < beginning_of_time_) {
|
||||
have_newest_ = 0;
|
||||
}
|
||||
} else {
|
||||
|
@ -541,7 +541,7 @@ class mergeIterator {
|
|||
aend_ = i.aend_;
|
||||
bend_ = i.bend_;
|
||||
curr_ = i.curr_;
|
||||
before_eof_ = i.before_eof;
|
||||
before_eof_ = i.before_eof_;
|
||||
}
|
||||
inline unsigned int offset() { return off_; }
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue