remove redundant length check
This commit is contained in:
parent
08c07d1c9c
commit
dbed27aacf
|
@ -147,11 +147,6 @@ void address_pair_list::iStream(PDU::Stream stream)
|
|||
|
||||
// Property Fields
|
||||
properties.push_back(address_data_pair(pr, pd));
|
||||
|
||||
//set EOF if buffer insufficient for another property range
|
||||
if (stream->available() < element_size(type_->address_length) *
|
||||
(type_->data_type == SINGLE? 1 : 3))
|
||||
stream->setstate(std::ios_base::eofbit);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue