summaryrefslogtreecommitdiff
path: root/src/conversation/plugin_gnsrecord_conversation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-06-06 08:20:53 +0200
committerChristian Grothoff <christian@grothoff.org>2018-06-06 08:20:53 +0200
commit561d9096a28037d65783cf40d4016e39a0cf3a2b (patch)
tree2591bb1ac9bb5d0b47c6d37447e1d40cfc8040a9 /src/conversation/plugin_gnsrecord_conversation.c
parent8eb738e7d6005ffd5e6cbb1ae80316ed0da6e3f9 (diff)
fix misc compiler warnings
Diffstat (limited to 'src/conversation/plugin_gnsrecord_conversation.c')
-rw-r--r--src/conversation/plugin_gnsrecord_conversation.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conversation/plugin_gnsrecord_conversation.c b/src/conversation/plugin_gnsrecord_conversation.c
index dd81ec917..3fee68782 100644
--- a/src/conversation/plugin_gnsrecord_conversation.c
+++ b/src/conversation/plugin_gnsrecord_conversation.c
@@ -46,6 +46,7 @@ conversation_value_to_string (void *cls,
{
char *s;
+ (void) cls;
switch (type)
{
case GNUNET_GNSRECORD_TYPE_PHONE:
@@ -103,6 +104,7 @@ conversation_string_to_value (void *cls,
void **data,
size_t *data_size)
{
+ (void) cls;
if (NULL == s)
{
GNUNET_break (0);
@@ -181,6 +183,7 @@ conversation_typename_to_number (void *cls,
{
unsigned int i;
+ (void) cls;
i=0;
while ( (name_map[i].name != NULL) &&
(0 != strcasecmp (gns_typename, name_map[i].name)) )
@@ -202,6 +205,7 @@ conversation_number_to_typename (void *cls,
{
unsigned int i;
+ (void) cls;
i=0;
while ( (name_map[i].name != NULL) &&
(type != name_map[i].number) )
@@ -221,6 +225,7 @@ libgnunet_plugin_gnsrecord_conversation_init (void *cls)
{
struct GNUNET_GNSRECORD_PluginFunctions *api;
+ (void) cls;
api = GNUNET_new (struct GNUNET_GNSRECORD_PluginFunctions);
api->value_to_string = &conversation_value_to_string;
api->string_to_value = &conversation_string_to_value;