mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed bug 3815 - implicit-fallthrough warning - DUFFS_LOOP4 and friends
This commit is contained in:
parent
19114b0378
commit
5f48ce0b64
@ -488,10 +488,10 @@ do { \
|
|||||||
#define DUFFS_LOOP4(pixel_copy_increment, width) \
|
#define DUFFS_LOOP4(pixel_copy_increment, width) \
|
||||||
{ int n = (width+3)/4; \
|
{ int n = (width+3)/4; \
|
||||||
switch (width & 3) { \
|
switch (width & 3) { \
|
||||||
case 0: do { pixel_copy_increment; \
|
case 0: do { pixel_copy_increment; /* fallthrough */ \
|
||||||
case 3: pixel_copy_increment; \
|
case 3: pixel_copy_increment; /* fallthrough */ \
|
||||||
case 2: pixel_copy_increment; \
|
case 2: pixel_copy_increment; /* fallthrough */ \
|
||||||
case 1: pixel_copy_increment; \
|
case 1: pixel_copy_increment; /* fallthrough */ \
|
||||||
} while (--n > 0); \
|
} while (--n > 0); \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user