- remove dead assignments
[oweals/gnunet.git] / src / testbed / testbed_api.c
index e1068a2b6e2a9ac7b23c88aafa4d7df18b8d05de..f029ebd9f4d0d1da6472cbbf643f55eef86814d7 100644 (file)
@@ -1080,7 +1080,6 @@ message_handler (void *cls, const struct GNUNET_MessageHeader *msg)
     LOG_DEBUG ("Receive timed out or connection to service dropped\n");
     return;
   }
-  status = GNUNET_OK;
   msize = ntohs (msg->size);
   switch (ntohs (msg->type))
   {
@@ -1532,9 +1531,9 @@ opc_free_iterator (void *cls, uint32_t key, void *value)
 
   GNUNET_assert (NULL != opc);
   GNUNET_break (0);
-  GNUNET_free (opc);
   GNUNET_assert (GNUNET_YES == 
                  GNUNET_CONTAINER_multihashmap32_remove (map, key, value));
+  GNUNET_free (opc);
   return GNUNET_YES;
 }