diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-04 12:51:12 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-04 12:51:12 +0100 |
commit | 39dfdab80d11c6bc7b10f37d819414358d5249f9 (patch) | |
tree | cca9a8af22233ad25d89314567ec03d9b8eac2d1 /src/rspamd.c | |
parent | 27ffa75d2b359e9107c5a62c307692260037ccdc (diff) | |
download | rspamd-39dfdab80d11c6bc7b10f37d819414358d5249f9.tar.gz rspamd-39dfdab80d11c6bc7b10f37d819414358d5249f9.zip |
[Minor] Remove unused struct timeval
Diffstat (limited to 'src/rspamd.c')
-rw-r--r-- | src/rspamd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rspamd.c b/src/rspamd.c index 108a8454f..10baf2050 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -359,14 +359,11 @@ rspamd_fork_delayed (struct rspamd_worker_conf *cf, struct rspamd_main *rspamd_main) { struct waiting_worker *nw; - struct timeval tv; nw = g_malloc0 (sizeof (*nw)); nw->cf = cf; nw->oldindex = index; nw->rspamd_main = rspamd_main; - tv.tv_sec = SOFT_FORK_TIME; - tv.tv_usec = 0; REF_RETAIN (cf); nw->wait_ev.data = nw; ev_timer_init (&nw->wait_ev, rspamd_fork_delayed_cb, SOFT_FORK_TIME, 0.0); |