remove used variable

This commit is contained in:
Dane Springmeyer 2011-04-29 20:04:36 +00:00
parent c6980f2fd8
commit caeaf920d7

View File

@ -14,6 +14,8 @@ mapnik::feature_ptr hello_featureset::next()
{
// create a new feature
mapnik::feature_ptr feature(new mapnik::Feature(feature_id_));
// increment the count so that we only return one feature
++feature_id_;
// create an attribute pair of key:value
@ -46,9 +48,6 @@ mapnik::feature_ptr hello_featureset::next()
line->line_to(box_.minx(),box_.miny());
feature->add_geometry(line);
// increment the count so that we only return one feature
++count_;
// return the feature!
return feature;
}