src/render/software/SDL_draw.h
changeset 5981 75caa8a7d559
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
     1.1 --- a/src/render/software/SDL_draw.h	Wed Oct 12 20:01:09 2011 -0400
     1.2 +++ b/src/render/software/SDL_draw.h	Thu Oct 13 01:08:30 2011 -0400
     1.3 @@ -45,13 +45,13 @@
     1.4  
     1.5  #define DRAW_SETPIXEL(setpixel) \
     1.6  do { \
     1.7 -    unsigned sr = r, sg = g, sb = b, sa = a; \
     1.8 +    unsigned sr = r, sg = g, sb = b, sa = a; (void) sa; \
     1.9      setpixel; \
    1.10  } while (0)
    1.11  
    1.12  #define DRAW_SETPIXEL_BLEND(getpixel, setpixel) \
    1.13  do { \
    1.14 -    unsigned sr, sg, sb, sa; sa; \
    1.15 +    unsigned sr, sg, sb, sa; (void) sa; \
    1.16      getpixel; \
    1.17      sr = DRAW_MUL(inva, sr) + r; \
    1.18      sg = DRAW_MUL(inva, sg) + g; \
    1.19 @@ -61,7 +61,7 @@
    1.20  
    1.21  #define DRAW_SETPIXEL_ADD(getpixel, setpixel) \
    1.22  do { \
    1.23 -    unsigned sr, sg, sb, sa; sa; \
    1.24 +    unsigned sr, sg, sb, sa; (void) sa; \
    1.25      getpixel; \
    1.26      sr += r; if (sr > 0xff) sr = 0xff; \
    1.27      sg += g; if (sg > 0xff) sg = 0xff; \
    1.28 @@ -71,7 +71,7 @@
    1.29  
    1.30  #define DRAW_SETPIXEL_MOD(getpixel, setpixel) \
    1.31  do { \
    1.32 -    unsigned sr, sg, sb, sa; sa; \
    1.33 +    unsigned sr, sg, sb, sa; (void) sa; \
    1.34      getpixel; \
    1.35      sr = DRAW_MUL(sr, r); \
    1.36      sg = DRAW_MUL(sg, g); \