aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/plugin_block_mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/plugin_block_mesh.c')
-rw-r--r--src/mesh/plugin_block_mesh.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesh/plugin_block_mesh.c b/src/mesh/plugin_block_mesh.c
index 3d99201f78..cbfd57eb4a 100644
--- a/src/mesh/plugin_block_mesh.c
+++ b/src/mesh/plugin_block_mesh.c
@@ -149,7 +149,6 @@ block_plugin_mesh_get_key (void *cls, enum GNUNET_BLOCK_Type type,
struct GNUNET_HashCode * key)
{
const struct PBlock *pb;
- GNUNET_MESH_ApplicationType app_type;
pb = block;
switch (type)
@@ -159,10 +158,6 @@ block_plugin_mesh_get_key (void *cls, enum GNUNET_BLOCK_Type type,
return GNUNET_SYSERR;
*key = pb->id.hashPubKey;
return GNUNET_OK;
- case GNUNET_BLOCK_TYPE_MESH_PEER_BY_TYPE:
- app_type = ntohl (pb->type);
- GNUNET_CRYPTO_hash (&app_type, sizeof(GNUNET_MESH_ApplicationType), key);
- return GNUNET_OK;
default:
GNUNET_break (0);
return GNUNET_SYSERR;