+ cleanup

This commit is contained in:
Artem Pavlenko 2011-08-12 16:43:21 +00:00
parent 3436fe0f05
commit 7a00511a56

View file

@ -74,12 +74,6 @@ void shape_io::move_to (int pos)
reclength_ = shp_.read_xdr_integer(); reclength_ = shp_.read_xdr_integer();
type_ = shp_.read_ndr_integer(); type_ = shp_.read_ndr_integer();
if (shp_.is_eof()) {
id_ = 0;
reclength_ = 0;
type_ = shape_null;
}
if (type_!= shape_null && type_ != shape_point && type_ != shape_pointm && type_ != shape_pointz) if (type_!= shape_null && type_ != shape_point && type_ != shape_pointm && type_ != shape_pointz)
{ {
shp_.read_envelope(cur_extent_); shp_.read_envelope(cur_extent_);