-rps test: add assertion (keep coverity happy?)
authorJulius Bünger <buenger@mytum.de>
Wed, 14 Sep 2016 23:42:28 +0000 (23:42 +0000)
committerJulius Bünger <buenger@mytum.de>
Wed, 14 Sep 2016 23:42:28 +0000 (23:42 +0000)
src/rps/test_rps.c

index 4b4dfc8bab1d582cccf965f72bf8abb6c3f891ee..a107aa042de2524bc1fbe59697f76e5f71d6c7e1 100644 (file)
@@ -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);