summaryrefslogtreecommitdiffstats
path: root/libvo/font_load_ft.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-14 18:32:31 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-14 18:32:31 +0000
commit687744dfedd8c32db48ec24c1edc72d620b4580a (patch)
tree88ef16fd628df0c9847da2ce3c6300c4afa4989f /libvo/font_load_ft.c
parentaf356b5d1573632226853260c6d725e54ac5be44 (diff)
downloadmpv-687744dfedd8c32db48ec24c1edc72d620b4580a.tar.bz2
mpv-687744dfedd8c32db48ec24c1edc72d620b4580a.tar.xz
Remove pointless explicit member initialization to 0 when the struct
is already zeroed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30587 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/font_load_ft.c')
-rw-r--r--libvo/font_load_ft.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c
index 97bfa7d960..886a7d6945 100644
--- a/libvo/font_load_ft.c
+++ b/libvo/font_load_ft.c
@@ -844,27 +844,10 @@ static font_desc_t* init_font_desc(void)
desc->dynamic = 1;
/* setup sane defaults */
- desc->name = NULL;
- desc->fpath = NULL;
-
- desc->face_cnt = 0;
- desc->charspace = 0;
- desc->spacewidth = 0;
- desc->height = 0;
- desc->max_width = 0;
- desc->max_height = 0;
desc->freetype = 1;
- desc->tables.g = NULL;
- desc->tables.gt2 = NULL;
- desc->tables.om = NULL;
- desc->tables.omt = NULL;
- desc->tables.tmp = NULL;
-
for(i = 0; i < 65536; i++)
desc->start[i] = desc->width[i] = desc->font[i] = -1;
- for(i = 0; i < 16; i++)
- desc->pic_a[i] = desc->pic_b[i] = NULL;
return desc;
}