1
0
Fork 0

remove redundant length check

This commit is contained in:
Kevin Matz 2021-08-29 09:03:42 -04:00
parent 08c07d1c9c
commit dbed27aacf
1 changed files with 0 additions and 5 deletions

View File

@ -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);
}
}