[Libreoffice-commits] core.git: external/glyphy

Tor Lillqvist tml at collabora.com
Thu Nov 19 05:40:26 PST 2015


 external/glyphy/glyphy-windows.patch.1 |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

New commits:
commit d028ea787969a8a273d5356ccd88304b31b71deb
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Nov 19 15:35:21 2015 +0200

    WaE: local variable is initialized but not referenced
    
    Change-Id: I27cdec1418e22039cdb2e20b980d2e90eeca545c

diff --git a/external/glyphy/glyphy-windows.patch.1 b/external/glyphy/glyphy-windows.patch.1
index 8605c8c..99f7bcc 100644
--- a/external/glyphy/glyphy-windows.patch.1
+++ b/external/glyphy/glyphy-windows.patch.1
@@ -742,3 +742,35 @@ index b43b1e3..c28778e 100644
 -- 
 2.4.3
 
+From 45ad6c9336e78b0fc5aeec4cd7d602333751a93f Mon Sep 17 00:00:00 2001
+From: Tor Lillqvist <tml at collabora.com>
+Date: Thu, 19 Nov 2015 15:31:04 +0200
+Subject: [PATCH] Bin two initialized but unused variables
+
+---
+ src/glyphy-windows.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/glyphy-windows.h b/src/glyphy-windows.h
+index b3c11c8..5912073 100644
+--- a/src/glyphy-windows.h
++++ b/src/glyphy-windows.h
+@@ -79,7 +79,6 @@ glyphy_windows(outline_decompose) (const TTPOLYGONHEADER    *outline,
+   const TTPOLYGONHEADER *polygon = outline;
+   const TTPOLYGONHEADER *outline_end = (const TTPOLYGONHEADER*) ((char *)outline + outline_size);
+ 
+-  int polygon_count = 0;
+   while (polygon < outline_end)
+   {
+     if (((char *)polygon + polygon->cb) > (char *) outline_end)
+@@ -92,7 +91,6 @@ glyphy_windows(outline_decompose) (const TTPOLYGONHEADER    *outline,
+ 
+     const TTPOLYCURVE *curve = (const TTPOLYCURVE*) (polygon + 1);
+     const TTPOLYCURVE *curve_end = (const TTPOLYCURVE*) ((char *)polygon + polygon->cb);
+-    int curve_count = 0;
+     while (curve < curve_end)
+     {
+       if (((char *) &curve->apfx[curve->cpfx]) > (char *) curve_end)
+-- 
+2.5.0
+


More information about the Libreoffice-commits mailing list