fixing unchecked return values
[oweals/gnunet.git] / src / transport / gnunet-service-transport_neighbours.c
index 1c0329533c6de1fd6d6e54815f71f592e20f72b1..e4c3ecd78bb6406b68f318665464bf0835a3704b 100644 (file)
@@ -2081,8 +2081,8 @@ free_notification_cb(void *cls, const struct GNUNET_PeerIdentity *key,
   /* struct NeighbourMapEntry *n = cls; */
   struct QuotaNotificationRequest *qnr = value;
 
-  GNUNET_CONTAINER_multipeermap_remove (registered_quota_notifications, key,
-      qnr);
+  GNUNET_break (GNUNET_OK != GNUNET_CONTAINER_multipeermap_remove (registered_quota_notifications, key,
+      qnr));
   GNUNET_free(qnr->plugin);
   GNUNET_free(qnr);