summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-04 09:35:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-04 10:11:10 +0100
commitcb859ddcb14414c1f2e520db23b08d2190bd091c (patch)
tree862dd558931f3c02f1186cabbcfeb93b476ee04e /vcl
parent9bc10687fca69364ddf55dce53ebca7d1aeba83f (diff)
-Werror,-Wshadow
Change-Id: I4893f538911449953fadf4cf10f6adb819bc023f
Diffstat (limited to 'vcl')
-rw-r--r--vcl/glyphy/demo/demo-shader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/glyphy/demo/demo-shader.cc b/vcl/glyphy/demo/demo-shader.cc
index 9b8212333175..dc5fbaa21edd 100644
--- a/vcl/glyphy/demo/demo-shader.cc
+++ b/vcl/glyphy/demo/demo-shader.cc
@@ -98,8 +98,8 @@ demo_shader_add_glyph_vertices (const glyphy_point_t &p,
if (extents) {
glyphy_extents_clear (extents);
for (unsigned int i = 0; i < 4; i++) {
- glyphy_point_t p = {v[i].x, v[i].y};
- glyphy_extents_add (extents, &p);
+ glyphy_point_t p2 = {v[i].x, v[i].y};
+ glyphy_extents_add (extents, &p2);
}
}
}