From: elias <all...@li...> - 2006-05-12 14:22:24
|
Author: elias Date: 2006-05-12 10:21:50 -0400 (Fri, 12 May 2006) New Revision: 5801 Repository: /usr/local/svn/repository/allegro Modified: allegro/branches/4.2/src/c/cblit.h Log: fixed two warnings about an unused parameter with USE_MEMMOVE Index: allegro/branches/4.2/src/c/cblit.h =================================================================== --- allegro/branches/4.2/src/c/cblit.h (revision 5800) +++ allegro/branches/4.2/src/c/cblit.h (revision 5801) @@ -68,7 +68,10 @@ void FUNC_LINEAR_CLEAR_TO_COLOR(BITMAP * void FUNC_LINEAR_BLIT(BITMAP *src, BITMAP *dst, int sx, int sy, int dx, int dy, int w, int h) { - int x, y; + int y; +#ifndef USE_MEMMOVE + int x; +#endif ASSERT(src); ASSERT(dst); @@ -104,7 +107,10 @@ void FUNC_LINEAR_BLIT(BITMAP *src, BITMA void FUNC_LINEAR_BLIT_BACKWARD(BITMAP *src, BITMAP *dst, int sx, int sy, int dx, int dy, int w, int h) { - int x, y; + int y; +#ifndef USE_MEMMOVE + int x; +#endif ASSERT(src); ASSERT(dst); |