[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Hi
Compiling with -W -Wall results in the following:
/usr/local/include/allegro/alcompat.h: In function `set_window_close_button':
/usr/local/include/allegro/alcompat.h:201: warning: unused parameter `enable'
The attached patch for alcompat.h should fix this.
Ben
--- 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;
})