Mercurial > mplayer.hg
changeset 30545:25b073b2cd65
Remove pointless explicit member initialization to 0 when the struct
is already zeroed.
author | reimar |
---|---|
date | Sun, 14 Feb 2010 18:32:31 +0000 |
parents | 97a52849df57 |
children | 25326e90db0a |
files | libvo/font_load_ft.c |
diffstat | 1 files changed, 0 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/font_load_ft.c Sun Feb 14 18:30:32 2010 +0000 +++ b/libvo/font_load_ft.c Sun Feb 14 18:32:31 2010 +0000 @@ -844,27 +844,10 @@ 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; }