diff options
author | van Hauser <vh@thc.org> | 2024-07-01 17:12:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 17:12:42 +0200 |
commit | dcd2f9ac77144a7a7d7f10efd7a5b47c474a4022 (patch) | |
tree | 29d6ae2e36203733b49bea6749997501f65ee3df /src/afl-fuzz-extras.c | |
parent | 62b3a1e8007ba1472a78a3f55e887c875846f56a (diff) | |
parent | 37d9afc5ccf0b37edc6744a5edf7753e52d1e103 (diff) | |
download | afl++-dcd2f9ac77144a7a7d7f10efd7a5b47c474a4022.tar.gz |
Merge pull request #2143 from r-barnes/patch-1
Make fallthroughs explicit in afl-fuzz-extras.c
Diffstat (limited to 'src/afl-fuzz-extras.c')
-rw-r--r-- | src/afl-fuzz-extras.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-fuzz-extras.c b/src/afl-fuzz-extras.c index 55b6be04..da996602 100644 --- a/src/afl-fuzz-extras.c +++ b/src/afl-fuzz-extras.c @@ -455,13 +455,13 @@ void deunicode_extras(afl_state_t *afl) { case 2: if (!afl->extras[i].data[j]) { ++z3; } - // fall through + __attribute__((fallthrough)); case 0: if (!afl->extras[i].data[j]) { ++z1; } break; case 3: if (!afl->extras[i].data[j]) { ++z4; } - // fall through + __attribute__((fallthrough)); case 1: if (!afl->extras[i].data[j]) { ++z2; } break; |