From: Julius Bünger Date: Wed, 14 Sep 2016 23:42:28 +0000 (+0000) Subject: -rps test: add assertion (keep coverity happy?) X-Git-Tag: initial-import-from-subversion-38251~271 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fa9777943aa223f0308284175abb72e985aa4e20;p=oweals%2Fgnunet.git -rps test: add assertion (keep coverity happy?) --- diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c index 4b4dfc8ba..a107aa042 100644 --- a/src/rps/test_rps.c +++ b/src/rps/test_rps.c @@ -1242,6 +1242,7 @@ profiler_reply_handle (void *cls, "%s\n", GNUNET_i2s_full (&recv_peers[i])); rcv_rps_peer = GNUNET_CONTAINER_multipeermap_get (peer_map, &recv_peers[i]); + GNUNET_assert (NULL != rcv_rps_peer); tofile (file_name_dh, "%" PRIu32 "\n", (uint32_t) rcv_rps_peer->index);