From ee2ba8a10df942119e730d89941a9f89714640cf Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 8 Aug 2012 13:12:29 +0000 Subject: [PATCH] coverity --- src/integration-tests/connection_watchdog.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/integration-tests/connection_watchdog.c b/src/integration-tests/connection_watchdog.c index 2a3862876..456782ddd 100644 --- a/src/integration-tests/connection_watchdog.c +++ b/src/integration-tests/connection_watchdog.c @@ -572,6 +572,8 @@ map_connect (const struct GNUNET_PeerIdentity *peer, void * source) } pc = GNUNET_CONTAINER_multihashmap_get(peers, &peer->hashPubKey); + GNUNET_assert (NULL != pc); + if (source == th) { if (GNUNET_NO == pc->transport_connected) @@ -658,6 +660,8 @@ map_disconnect (const struct GNUNET_PeerIdentity * peer, void * source) } pc = GNUNET_CONTAINER_multihashmap_get(peers, &peer->hashPubKey); + GNUNET_assert (NULL != pc); + if (source == th) { if (NULL != pc->th_ping) -- 2.25.1