mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
remove used variable
This commit is contained in:
parent
c6980f2fd8
commit
caeaf920d7
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user