From 2dda2c0e3a7c3813fc334d983b65d9f698953143 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 6 Jul 2012 07:38:54 +0000 Subject: [PATCH] -LRN: fix new mesh to compile --- src/mesh/gnunet-service-mesh_new.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/mesh/gnunet-service-mesh_new.c b/src/mesh/gnunet-service-mesh_new.c index 644bb60c8..a4ab1d188 100644 --- a/src/mesh/gnunet-service-mesh_new.c +++ b/src/mesh/gnunet-service-mesh_new.c @@ -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, - ®ex_edge_iterator, ctx); - - return GNUNET_YES; -} - /** * Iterator over edges in a block. * -- 2.25.1