1
0
forked from aniani/vim

updated for version 7.4.342

Problem:    Clang gives warnings.
Solution:   Add an else block. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar 2014-06-25 17:44:49 +02:00
parent e8a3492548
commit db5ffaab5a
2 changed files with 7 additions and 3 deletions

View File

@ -1193,11 +1193,13 @@ drawBalloon(beval)
XmFontList fl;
fl = gui_motif_fontset2fontlist(&gui.tooltip_fontset);
if (fl != NULL)
if (fl == NULL)
{
XmStringExtent(fl, s, &w, &h);
XmFontListFree(fl);
XmStringFree(s);
return;
}
XmStringExtent(fl, s, &w, &h);
XmFontListFree(fl);
}
w += gui.border_offset << 1;
h += gui.border_offset << 1;

View File

@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
342,
/**/
341,
/**/