-LRN: fix new mesh to compile
authorChristian Grothoff <christian@grothoff.org>
Fri, 6 Jul 2012 07:38:54 +0000 (07:38 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 6 Jul 2012 07:38:54 +0000 (07:38 +0000)
src/mesh/gnunet-service-mesh_new.c

index 644bb60c80ea2d93ff6fef354a34d6f1befa008b..a4ab1d188367b375e859ac724db4e7e0ab79fef0 100644 (file)
@@ -4121,31 +4121,6 @@ dht_get_string_handler (void *cls, struct GNUNET_TIME_Absolute exp,
                         size_t size, const void *data);
 
 
-/**
- * Iterator over hash map entries.
- *
- * @param cls closure
- * @param key current key code
- * @param value value in the hash map
- * @return GNUNET_YES if we should continue to
- *         iterate,
- *         GNUNET_NO if not.
- */
-static int
-regex_result_iterator (void *cls,
-                       const struct GNUNET_HashCode * key,
-                       void *value)
-{
-  struct MeshRegexBlock *block = value;
-  struct MeshRegexSearchContext *ctx = cls;
-
-  // block was checked when stored, no need to check again
-  (void) GNUNET_MESH_regex_block_iterate (block, SIZE_MAX,
-                                          &regex_edge_iterator, ctx);
-
-  return GNUNET_YES;
-}
-
 /**
  * Iterator over edges in a block.
  *