summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkira TAGOH <tagoh@redhat.com>2021-12-09 20:29:06 +0900
committerAkira TAGOH <tagoh@redhat.com>2021-12-09 20:29:06 +0900
commit4238402f1cfee3946a4090cea7ff31d46ceb2c11 (patch)
tree6537d447a84dc87fa634623fcb3e8aaa9a278c8e /src
parent3196e1815eb4c35447329026ca38c245420af1cd (diff)
downloadfontconfig-4238402f1cfee3946a4090cea7ff31d46ceb2c11.tar.gz
Initialize variable
Diffstat (limited to 'src')
-rw-r--r--src/fcfreetype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index 409c9a1..cf923f2 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -1682,7 +1682,7 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
/* Add the fullname into the cache */
if (!variable && !nfullname)
{
- FcChar8 *family, *style, *lang;
+ FcChar8 *family, *style, *lang = NULL;
int n = 0;
size_t len, i;
FcStrBuf sbuf;