On Saturday 27 December 2008, Tamas TEVESZ wrote:
> tree 431338c4eee0
> parent a692f199fb8a
> author Tamas TEVESZ <[email protected]> 1230388268 -3600
> committer Tamas TEVESZ <[email protected]> 1230388268 -3600
> revision 1628
> branch ice
>
> wfontpanel.c:588: warning: missing sentinel in function call
This is a very interesting warning, considering that NULL is defined like:
#define NULL 0
On what OS do you get this and with what compiler?
> diff --git a/WINGs/wfontpanel.c b/WINGs/wfontpanel.c
> --- a/WINGs/wfontpanel.c
> +++ b/WINGs/wfontpanel.c
> @@ -585,7 +585,7 @@
> int i;
>
> pat = FcPatternCreate();
> - os = FcObjectSetBuild(FC_FAMILY, FC_STYLE, 0);
> + os = FcObjectSetBuild(FC_FAMILY, FC_STYLE, NULL);
> fs = FcFontList(0, pat, os);
> if (!fs) {
> WMRunAlertPanel(scr, panel->win, _("Error"),
>
> --
> [-]
>
> mkdir /nonexistent
--
Dan
--
To unsubscribe, send mail to [email protected].