# HG changeset patch # User reimar # Date 1337203807 0 # Node ID 2960cd0eef6faf6e93fcd9b094d39182b3392ac9 # Parent 93f079e4e579673822c134e03098027526b2263c Initialize "result" variable since FcFontMatch only sets it on failure. This is currently kind of pointless since we don't actually use the result, but it is better to not take any risks. diff -r 93f079e4e579 -r 2960cd0eef6f sub/font_load_ft.c --- a/sub/font_load_ft.c Wed May 16 21:30:06 2012 +0000 +++ b/sub/font_load_ft.c Wed May 16 21:30:07 2012 +0000 @@ -1130,7 +1130,7 @@ FcChar8 *s; int face_index; FcBool scalable; - FcResult result; + FcResult result = FcResultMatch; #endif font_desc_t *vo_font = *fontp; vo_image_width = width;