Skip to content

Commit

Permalink
Fixed uninitialized variable in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 28, 2014
1 parent f30e120 commit 5c6c869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/software/SDL_draw.h
Expand Up @@ -51,7 +51,7 @@ do { \

#define DRAW_SETPIXEL_BLEND(getpixel, setpixel) \
do { \
unsigned sr, sg, sb, sa; \
unsigned sr, sg, sb, sa = 0xFF; \
getpixel; \
sr = DRAW_MUL(inva, sr) + r; \
sg = DRAW_MUL(inva, sg) + g; \
Expand Down

0 comments on commit 5c6c869

Please sign in to comment.