|
The block of code that coverity is having problems with is in fact not a consequence of a copy-paste error.
if (intervals.size() == 1 && intervals.front().isPoint()) {
|
// this field is only a single point-interval
|
BoundBuilders::const_iterator j;
|
for (j = builders.begin(); j != builders.end(); ++j) {
|
j->first->appendAs(intervals.front().start, fieldName);
|
j->second->appendAs(intervals.front().end, fieldName);
|
}
|
}
|
.....
|
intervals.size() == 1 <==> intervals.front() == intervals.back()
|
and so lines 391-394 is functionally identical to lines 430-433.
|