code format

This commit is contained in:
vanhauser-thc
2025-05-17 00:05:31 +02:00
parent 7f7d5ff29b
commit 3ee3b5c384
6 changed files with 18 additions and 14 deletions

View File

@ -1412,7 +1412,6 @@ void perform_dry_run(afl_state_t *afl) {
q = afl->queue_buf[idx];
if (!q || q->disabled || q->cal_failed || !q->exec_cksum) { continue; }
u32 done = 0;
for (i = idx + 1; likely(i < afl->queued_items && afl->queue_buf[i]); ++i) {
@ -2903,7 +2902,7 @@ void setup_testcase_shmem(afl_state_t *afl) {
// we need to set the non-instrumented mode to not overwrite the SHM_ENV_VAR
size_t shm_fuzz_map_size = SHM_FUZZ_MAP_SIZE_DEFAULT;
u8 *map = afl_shm_init(afl->shm_fuzz, shm_fuzz_map_size, 1);
u8 *map = afl_shm_init(afl->shm_fuzz, shm_fuzz_map_size, 1);
afl->shm_fuzz->shmemfuzz_mode = 1;
if (!map) { FATAL("BUG: Zero return from afl_shm_init."); }