Skip to content

Commit

Permalink
Remove unnecessary fallthrough annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVanheer committed Mar 16, 2022
1 parent dcf6c24 commit 63c1293
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions external/SDL2/SDL_stdinc.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,7 @@ SDL_FORCE_INLINE void SDL_memset4(void *dst, int val, size_t len)
return;
switch (len % 4)
{
case 0:
[[fallthrough]];
do { *_p++ = _val;
case 0: do { *_p++ = _val;
[[fallthrough]];
case 3: *_p++ = _val;
[[fallthrough]];
Expand Down

0 comments on commit 63c1293

Please sign in to comment.