From 95b8282edb84b9faa704ea43b72888422422e065 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 30 May 2014 05:57:00 +0000 Subject: Removed -Wuninitialized compilation warning. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_font_xft.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/fl_font_xft.cxx b/src/fl_font_xft.cxx index 7e629aa87..dc7aff679 100644 --- a/src/fl_font_xft.cxx +++ b/src/fl_font_xft.cxx @@ -153,7 +153,7 @@ static XftFont* fontopen(const char* name, Fl_Fontsize size, bool core, int angl fl_open_display(); if(!is_xlfd) { // Not an XLFD - open as a XFT style name - XftFont *the_font; // the font we will return; + XftFont *the_font = NULL; // the font we will return; XftPattern *fnt_pat = XftPatternCreate(); // the pattern we will use for matching int slant = XFT_SLANT_ROMAN; int weight = XFT_WEIGHT_MEDIUM; -- cgit v1.2.3