remove unnecessary map_size variables

This commit is contained in:
van Hauser
2020-04-17 11:39:38 +02:00
parent 6bd49b1d5c
commit 1931838a11
6 changed files with 17 additions and 18 deletions

View File

@ -81,7 +81,7 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) {
and out_size are NULL/0 by default. */
memset(afl, 0, sizeof(afl_state_t));
if (!map_size) map_size = MAP_SIZE;
if (!map_size) afl->shm.map_size = MAP_SIZE;
afl->w_init = 0.9;
afl->w_end = 0.3;