mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-10 17:58:09 +00:00
Unitialized variable
This commit is contained in:
parent
8a949e8dc2
commit
796316b64c
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ bool GenericHash::walk(u_int32_t *begin_slot,
|
|||
*/
|
||||
|
||||
u_int GenericHash::purgeIdle(bool force_idle) {
|
||||
u_int i, num_idled, buckets_checked = 0;
|
||||
u_int i, num_idled = 0, buckets_checked = 0;
|
||||
time_t now = time(NULL);
|
||||
/* Visit all entries when force_idle is true */
|
||||
u_int visit_fraction = !force_idle ? purge_step : num_hashes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue