about summary refs log tree commit diff
path: root/src/afl-fuzz-bitmap.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-07-21 15:06:53 +0200
committerGitHub <noreply@github.com>2021-07-21 15:06:53 +0200
commit21db86af9b1888732ab1d131a4e94318b8a6cfbc (patch)
tree231b36869d02994fafc637ba186b13ffb925c96f /src/afl-fuzz-bitmap.c
parenta9328e40b3cf9cbda844da8bdce20093df7bbffa (diff)
parent699a1b0120aaa2ccd2ab09262adf6dc9b2830006 (diff)
downloadafl++-21db86af9b1888732ab1d131a4e94318b8a6cfbc.tar.gz
Merge pull request #1039 from yuawn/fix-save_if_interesting
remove unneeded assignment
Diffstat (limited to 'src/afl-fuzz-bitmap.c')
-rw-r--r--src/afl-fuzz-bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c
index 0a9242a5..59b1d279 100644
--- a/src/afl-fuzz-bitmap.c
+++ b/src/afl-fuzz-bitmap.c
@@ -560,7 +560,7 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
     }
 
     /* due to classify counts we have to recalculate the checksum */
-    cksum = afl->queue_top->exec_cksum =
+    afl->queue_top->exec_cksum =
         hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST);
 
     /* Try to calibrate inline; this also calls update_bitmap_score() when