aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/font/fc
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-02-16 06:03:48 +0100
committerMihai Moldovan <ionic@ionic.de>2015-02-16 06:03:48 +0100
commitb04f11915e29d9563d279e1326f61b50ea414dba (patch)
tree6acfb4f3c69fab1a8aecacad8ed3e689286f498d /nx-X11/lib/font/fc
parentb6b5b14e4190048fadbfbcf063d873d318127e81 (diff)
downloadnx-libs-b04f11915e29d9563d279e1326f61b50ea414dba.tar.gz
nx-libs-b04f11915e29d9563d279e1326f61b50ea414dba.tar.bz2
nx-libs-b04f11915e29d9563d279e1326f61b50ea414dba.zip
nx-X11/lib/font/fc/fserve.c: initialize remaining bufleft variables.
Diffstat (limited to 'nx-X11/lib/font/fc')
-rw-r--r--nx-X11/lib/font/fc/fserve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index 86b5753ef..6bbb8c2a0 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;