Adam Jackson <[email protected]> writes:
> -/*
> - * xf86ConfigError --
> - *      Print a READABLE ErrorMessage!!!  All information that is 
> - *      available is printed.
> - */
> -static void
> -_X_ATTRIBUTE_PRINTF(1, 2)
> -xf86ConfigError(const char *msg, ...)
> -{
> -    va_list ap;
> -
> -    ErrorF("\nConfig Error:\n");
> -    va_start(ap, msg);
> -    VErrorF(msg, ap);
> -    va_end(ap);
> -    ErrorF("\n");
> -    return;
> -}

Yeah, doesn't seem useful, really.

(also, the "return;" as the last statement is just the best)

Reviewed-by: Eric Anholt <[email protected]>

Attachment: pgpHykxJBKd1a.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to