vcl/glyphy/demo/demo-atlas.cc | 2 +- vcl/glyphy/demo/demo-font.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
New commits: commit 5f12bcf15367954b985729189e0437b2b5059425 Author: Tor Lillqvist <[email protected]> Date: Thu Nov 19 15:46:08 2015 +0200 WaE: potentially uninitialized local variable used Change-Id: I66504a2275350f4c4fa6a615e30f5cd1c332d686 diff --git a/vcl/glyphy/demo/demo-atlas.cc b/vcl/glyphy/demo/demo-atlas.cc index d84da06..4f331da 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; commit 9e3a6f00fdcc349875cb53195ede79ca8048b9cc Author: Tor Lillqvist <[email protected]> Date: Thu Nov 19 15:39:24 2015 +0200 WaE: unreferenced formal parameter Change-Id: Ic37e2e89af0c5fec7f43cf07420549d8d57de393 diff --git a/vcl/glyphy/demo/demo-font.cc b/vcl/glyphy/demo/demo-font.cc index c28778e..cbf0994 100644 --- a/vcl/glyphy/demo/demo-font.cc +++ b/vcl/glyphy/demo/demo-font.cc @@ -324,6 +324,7 @@ demo_font_lookup_glyph (demo_font_t *font, void demo_font_print_stats (demo_font_t *font) { + (void) font; LOGI ("%3d glyphs; avg num endpoints%6.2f; avg error%5.1f%%; avg tex fetch%5.2f; avg %5.2fkb per glyph\n", font->num_glyphs, (double) font->sum_endpoints / font->num_glyphs, _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
