[X2Go-Commits] [nx-libs] 01/02: nx-X11/lib/font/fc/fserve.c: initialize remaining bufleft variables.

git-admin at x2go.org git-admin at x2go.org
Mon Feb 16 06:17:07 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit b04f11915e29d9563d279e1326f61b50ea414dba
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Feb 16 06:03:48 2015 +0100

    nx-X11/lib/font/fc/fserve.c: initialize remaining bufleft variables.
---
 nx-X11/lib/font/fc/fserve.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index 86b5753..6bbb8c2 100644
--- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c
@@ -1917,7 +1917,7 @@ fs_read_glyphs(FontPathElementPtr fpe, FSBlockDataPtr blockrec)
     FontInfoPtr		    pfi = &pfont->info;
     fsQueryXBitmaps16Reply  *rep;
     char		    *buf;
-    long		    bufleft; /* length of reply left to use */
+    long		    bufleft = 0; /* length of reply left to use */
     fsOffset32		    *ppbits;
     fsOffset32		    local_off;
     char		    *off_adr;
@@ -2501,7 +2501,7 @@ fs_read_list_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec)
     FSBlockedListInfoPtr	binfo = (FSBlockedListInfoPtr) blockrec->data;
     fsListFontsWithXInfoReply	*rep;
     char			*buf;
-    long			bufleft;
+    long			bufleft = 0;
     FSFpePtr			conn = (FSFpePtr) fpe->private;
     fsPropInfo			*pi;
     fsPropOffset		*po;

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list