From e5897fbfbe7e2afb61b6cfe8ae29a480dd00fdfa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20B=C3=BCnger?= Date: Mon, 25 Feb 2019 13:55:18 +0100 Subject: [PATCH] RPS profiler: Assert statistics handle non-NULL --- src/rps/gnunet-rps-profiler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c index 98fc8dccb..8e6fa389a 100644 --- a/src/rps/gnunet-rps-profiler.c +++ b/src/rps/gnunet-rps-profiler.c @@ -2685,6 +2685,7 @@ post_profiler (struct RPSPeer *rps_peer) post_test_shutdown_ready_cb, stat_iterator, (struct STATcls *) stat_cls); + GNUNET_assert (NULL != rps_peer->h_stat_get); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Requested statistics for %s (peer %" PRIu32 ")\n", stat_type_strings [stat_type], -- 2.25.1