cleanup minor issues

This commit is contained in:
van Hauser
2020-08-11 10:36:34 +02:00
parent 0ba09ee85a
commit 3ec1b23743
5 changed files with 19 additions and 14 deletions

View File

@ -183,6 +183,8 @@ u32 count_bits_len(afl_state_t *afl, u8 *mem, u32 len) {
u32 i = (len >> 2);
u32 ret = 0;
(void)(afl);
if (len % 4) i++;
while (i--) {
@ -241,6 +243,8 @@ u32 count_bytes_len(afl_state_t *afl, u8 *mem, u32 len) {
u32 i = (len >> 2);
u32 ret = 0;
(void)(afl);
while (i--) {
u32 v = *(ptr++);