Re: [AD] Unused parameter

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


> 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 ?

-- 
Eric Botcazou



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