mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-08 16:21:32 +00:00
fix some compiler warnings from Open/FreeBSD
This commit is contained in:
parent
d2787519e3
commit
c616fcafe8
@ -107,7 +107,7 @@ u8 *forkserver_DMS(u64 val) {
|
||||
|
||||
}
|
||||
|
||||
list_t fsrv_list = {0};
|
||||
list_t fsrv_list = {.element_prealloc_count = 0};
|
||||
|
||||
/* the timeout handler */
|
||||
|
||||
@ -306,6 +306,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv) {
|
||||
|
||||
/* Wait for the fork server to come up, but don't wait too long. */
|
||||
|
||||
rlen = 0;
|
||||
if (fsrv->exec_tmout) {
|
||||
|
||||
fd_set readfds;
|
||||
|
@ -182,6 +182,7 @@ void init_cmplog_forkserver(afl_state_t *afl) {
|
||||
|
||||
/* Wait for the fork server to come up, but don't wait too long. */
|
||||
|
||||
rlen = 0;
|
||||
if (afl->fsrv.exec_tmout) {
|
||||
|
||||
fd_set readfds;
|
||||
|
@ -71,7 +71,7 @@ static void init_mopt_globals(afl_state_t *afl) {
|
||||
/* A global pointer to all instances is needed (for now) for signals to arrive
|
||||
*/
|
||||
|
||||
list_t afl_states = {0};
|
||||
list_t afl_states = {.element_prealloc_count = 0};
|
||||
|
||||
/* Initializes an afl_state_t. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user