Re: [AD] Unused parameter

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2002-12-12, Eric <ebotcazou@xxxxxxxxxx> wrote:
> > The attached patch for alcompat.h should fix this.
> 
> --- alcompat.h.old	Thu Dec 12 18:29:01 2002
> +++ alcompat.h	Thu Dec 12 18:29:34 2002
> @@ -197,6 +197,7 @@
>  /* the old close button functions */
>  AL_INLINE(int, set_window_close_button, (int enable),
>  {
> +   (void)enable;
>     return 0;
>  })
>  
> 
> Isn't that a GCCism ?

AFAIK, it's not.

-- 
王浩禎



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/