MinGW
[oweals/gnunet.git] / src / util / test_container_multihashmap.c
index e92ab49ba133e4101954db1e54fd463744fb6a6d..426afba8515a4ae438d7b247556590a543b4be05 100644 (file)
@@ -38,7 +38,6 @@ testMap (int i)
   GNUNET_HashCode k1;
   GNUNET_HashCode k2;
   int j;
-  void *r;
 
   CHECK (NULL != (m = GNUNET_CONTAINER_multihashmap_create (i)));
   memset (&k1, 0, sizeof (k1));
@@ -84,8 +83,6 @@ testMap (int i)
   CHECK (0 ==
          GNUNET_CONTAINER_multihashmap_get_multiple (m, &k2, NULL, NULL));
   CHECK (2 == GNUNET_CONTAINER_multihashmap_iterate (m, NULL, NULL));
-  r = GNUNET_CONTAINER_multihashmap_get_random (m);
-  CHECK (0 == strcmp (r, "v1") || 0 == strcmp (r, "v2"));
   CHECK (2 == GNUNET_CONTAINER_multihashmap_remove_all (m, &k1));
   for (j = 0; j < 1024; j++)
     CHECK (GNUNET_OK == GNUNET_CONTAINER_multihashmap_put (m,
@@ -110,4 +107,4 @@ main (int argc, char *argv[])
   return 0;
 }
 
-/* end of maptest.c */
+/* end of test_container_multihashmap.c */