diff options
author | Luca Deri <deri@ntop.org> | 2021-06-03 09:05:53 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-06-03 09:05:53 +0200 |
commit | 03ae090d39be3649e2435f117945ead263176045 (patch) | |
tree | 1a62f161c101bf72238e87ba5e53225125e7ff39 /src/lib/ndpi_utils.c | |
parent | 8761ac1887c9190a8f5bf4f1439f1316a5df22a2 (diff) |
Warnign fix
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r-- | src/lib/ndpi_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index bf5817495..f651ddd64 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1769,7 +1769,7 @@ u_int16_t ndpi_risk2score(ndpi_risk risk, if(NDPI_ISSET_BIT(risk, r)) { ndpi_risk_info *info = ndpi_risk2severity(r); - u_int16_t val, client_score_val; + u_int16_t val = 0, client_score_val; switch(info->severity) { case NDPI_RISK_LOW: |