summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-05-30 05:57:00 +0000
committerManolo Gouy <Manolo>2014-05-30 05:57:00 +0000
commit95b8282edb84b9faa704ea43b72888422422e065 (patch)
tree41f36042e044055b1a672cd3b849a2ce1cdaf95e
parent44c2ca6521cfdbd4a2d674411fcc3167537a9c68 (diff)
Removed -Wuninitialized compilation warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/fl_font_xft.cxx2
1 files changed, 1 insertions, 1 deletions
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;