From: Julius Bünger Date: Mon, 25 Feb 2019 12:55:18 +0000 (+0100) Subject: RPS profiler: Assert statistics handle non-NULL X-Git-Tag: v0.11.0~37^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e5897fbfbe7e2afb61b6cfe8ae29a480dd00fdfa;p=oweals%2Fgnunet.git RPS profiler: Assert statistics handle non-NULL --- 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],