summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-11-19 15:46:08 +0200
committerTor Lillqvist <tml@collabora.com>2015-11-19 15:47:39 +0200
commit5f12bcf15367954b985729189e0437b2b5059425 (patch)
treefef23d6a32a5ac214ae01ce7e4fb5868213a63b0
parent9e3a6f00fdcc349875cb53195ede79ca8048b9cc (diff)
WaE: potentially uninitialized local variable used
Change-Id: I66504a2275350f4c4fa6a615e30f5cd1c332d686
-rw-r--r--vcl/glyphy/demo/demo-atlas.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/glyphy/demo/demo-atlas.cc b/vcl/glyphy/demo/demo-atlas.cc
index d84da068363a..4f331daf84ba 100644
--- a/vcl/glyphy/demo/demo-atlas.cc
+++ b/vcl/glyphy/demo/demo-atlas.cc
@@ -109,7 +109,7 @@ demo_atlas_alloc (demo_atlas_t *at,
unsigned int *px,
unsigned int *py)
{
- GLuint w, h, x, y;
+ GLuint w, h, x = 0, y = 0;
w = at->item_w;
h = (len + w - 1) / w;