From b51f5bcffd09748c61c7465db4d80d943cb2c70f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 1 Feb 2017 16:34:30 +0100 Subject: [PATCH] init worst, to avoid valgrind warning (otherwise harmless) --- src/cadet/gnunet-service-cadet-new_tunnels.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cadet/gnunet-service-cadet-new_tunnels.c b/src/cadet/gnunet-service-cadet-new_tunnels.c index c1532e835..32ddf2984 100644 --- a/src/cadet/gnunet-service-cadet-new_tunnels.c +++ b/src/cadet/gnunet-service-cadet-new_tunnels.c @@ -2428,6 +2428,7 @@ consider_path_cb (void *cls, es.min_desire = UINT64_MAX; es.path = path; es.duplicate = GNUNET_NO; + es.worst = NULL; /* Compute evaluation summary over existing connections. */ GCT_iterate_connections (t, -- 2.25.1