about summary refs log tree commit diff
path: root/src/afl-fuzz-bitmap.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-08-11 10:36:34 +0200
committervan Hauser <vh@thc.org>2020-08-11 10:36:34 +0200
commit3ec1b2374336d0b98aa4fc586cd5bc601b711821 (patch)
tree2c677fbcaf01004fb66dfaa443e0982297b9f327 /src/afl-fuzz-bitmap.c
parent0ba09ee85a65878e70d1a224f9d41fcbac3ff1e5 (diff)
downloadafl++-3ec1b2374336d0b98aa4fc586cd5bc601b711821.tar.gz
cleanup minor issues
Diffstat (limited to 'src/afl-fuzz-bitmap.c')
-rw-r--r--src/afl-fuzz-bitmap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c
index d4ee36e1..9f58d604 100644
--- a/src/afl-fuzz-bitmap.c
+++ b/src/afl-fuzz-bitmap.c
@@ -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++);