[PATCH:xkbcomp 2/4] Remove unused uASSERT macro

Jasper St. Pierre jstpierre at mecheye.net
Wed Oct 30 03:09:52 CET 2013


Reviewed-by: Jasper St. Pierre <jstpierre at mecheye.net>


On Tue, Oct 29, 2013 at 9:51 PM, Alan Coopersmith <
alan.coopersmith at oracle.com> wrote:

> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>  utils.h |    9 ---------
>  1 file changed, 9 deletions(-)
>
> diff --git a/utils.h b/utils.h
> index 62c9f2f..81f5893 100644
> --- a/utils.h
> +++ b/utils.h
> @@ -219,15 +219,6 @@ uInformation(const char * /* s */ , ...
>
>
>  /***====================================================================***/
>
> -#ifdef ASSERTIONS_ON
> -#define        uASSERT(where,why) \
> -       {if (!(why)) uFatalError("assertion botched in %s ( why
> )\n",where);}
> -#else
> -#define        uASSERT(where,why)
> -#endif
> -
>
> -/***====================================================================***/
> -
>  #ifndef DEBUG_VAR
>  #define        DEBUG_VAR       debugFlags
>  #endif
> --
> 1.7.9.2
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>



-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131029/b23c5daa/attachment.html>


More information about the xorg-devel mailing list