blob: f9449689c69891c6e6f16be02953e45b82484684 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From: Alexander <sanek23994@gmail.com>
Date: Sat, 5 Jul 2014 22:13:12 +0200
Subject: clang FTBFS
Fix a FTBFS with the clang compiler due to uninitialized variables in
ttf2font.c.
Bug: https://bugs.debian.org/753064
Forwarded: no
---
utils/ttf2font.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/utils/ttf2font.c b/utils/ttf2font.c
index 01ce00a..5300708 100644
--- a/utils/ttf2font.c
+++ b/utils/ttf2font.c
@@ -47,7 +47,8 @@ int main(int argc, char **argv)
{
FT_Library ftl;
FT_Face face;
- FT_UInt xsize, ysize;
+ FT_UInt xsize = 0;
+ FT_UInt ysize = 0;
unsigned char ch;
FILE *out = NULL;
|