aboutsummaryrefslogtreecommitdiff
path: root/fontconfig
diff options
context:
space:
mode:
Diffstat (limited to 'fontconfig')
-rw-r--r--fontconfig/src/fcstat.c2
-rw-r--r--fontconfig/src/fcxml.c3
-rw-r--r--fontconfig/src/makefile1
3 files changed, 4 insertions, 2 deletions
diff --git a/fontconfig/src/fcstat.c b/fontconfig/src/fcstat.c
index c2d9fe9ee..0c15f8700 100644
--- a/fontconfig/src/fcstat.c
+++ b/fontconfig/src/fcstat.c
@@ -218,7 +218,7 @@ static int
FcFStatFs (int fd, FcStatFS *statb)
{
const char *p = NULL;
- int ret;
+ int ret=0;
FcBool flag = FcFalse;
memset (statb, 0, sizeof (FcStatFS));
diff --git a/fontconfig/src/fcxml.c b/fontconfig/src/fcxml.c
index e6fdf7f7e..799352e6f 100644
--- a/fontconfig/src/fcxml.c
+++ b/fontconfig/src/fcxml.c
@@ -1850,7 +1850,8 @@ FcParseDir (FcConfigParse *parse)
#ifdef _WIN32
FcChar8 buffer[MAX_PATH];
#endif
- const FcChar8 *attr, *data;
+ const FcChar8 *attr;
+ FcChar8 *data;
FcChar8 *prefix = NULL;
attr = FcConfigGetAttribute (parse, "prefix");
diff --git a/fontconfig/src/makefile b/fontconfig/src/makefile
index f27d62fa5..a289c5f6e 100644
--- a/fontconfig/src/makefile
+++ b/fontconfig/src/makefile
@@ -33,6 +33,7 @@ CSRCS = \
fcname.c \
fcpat.c \
fcserialize.c \
+ fcstat.c \
fcstr.c \
fcxml.c \
\