Skip to content

Commit

Permalink
Fixed bug 3812 - Fallthrough warnings gcc-7
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 10, 2017
1 parent 5f48ce0 commit e98fc89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/render/software/SDL_draw.h
Expand Up @@ -562,10 +562,10 @@ do { \
while (height--) { \
{ int n = (width+3)/4; \
switch (width & 3) { \
case 0: do { op; pixel++; \
case 3: op; pixel++; \
case 2: op; pixel++; \
case 1: op; pixel++; \
case 0: do { op; pixel++; /* fallthrough */ \
case 3: op; pixel++; /* fallthrough */ \
case 2: op; pixel++; /* fallthrough */ \
case 1: op; pixel++; /* fallthrough */ \
} while ( --n > 0 ); \
} \
} \
Expand Down

0 comments on commit e98fc89

Please sign in to comment.