Permalink
Browse files

avoid unused variable warnings

  • Loading branch information...
1 parent cc3cd5f commit fa23cda22f6ab5926185c0ba6ce77459363ae510 Dane Springmeyer committed Aug 4, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/agg/process_shield_symbolizer.cpp
  2. +2 −2 src/grid/process_shield_symbolizer.cpp
@@ -215,7 +215,7 @@ void agg_renderer<T>::process(shield_symbolizer const& sym,
{
render_marker(px,py,**marker,tr,sym.get_opacity());
- box2d<double> dim = ren.prepare_glyphs(&text_placement.placements[0]);
+ ren.prepare_glyphs(&text_placement.placements[0]);
ren.render(x,y);
detector_.insert(label_ext);
finder.update_detector(text_placement);
@@ -254,7 +254,7 @@ void agg_renderer<T>::process(shield_symbolizer const& sym,
render_marker(px,py,**marker,tr,sym.get_opacity());
- box2d<double> dim = ren.prepare_glyphs(&text_placement.placements[ii]);
+ ren.prepare_glyphs(&text_placement.placements[ii]);
ren.render(x,y);
if (writer.first) writer.first->add_box(label_ext, feature, t_, writer.second);
}
@@ -197,7 +197,7 @@ void grid_renderer<T>::process(shield_symbolizer const& sym,
{
render_marker(feature,pixmap_.get_resolution(),px,py,**marker,tr,sym.get_opacity());
- box2d<double> dim = ren.prepare_glyphs(&text_placement.placements[0]);
+ ren.prepare_glyphs(&text_placement.placements[0]);
ren.render_id(feature.id(),x,y,2);
detector_.insert(label_ext);
finder.update_detector(text_placement);
@@ -227,7 +227,7 @@ void grid_renderer<T>::process(shield_symbolizer const& sym,
render_marker(feature,pixmap_.get_resolution(),px,py,**marker,tr,sym.get_opacity());
- box2d<double> dim = ren.prepare_glyphs(&text_placement.placements[ii]);
+ ren.prepare_glyphs(&text_placement.placements[ii]);
ren.render_id(feature.id(),x,y,2);
}
finder.update_detector(text_placement);

0 comments on commit fa23cda

Please sign in to comment.