-fixing 2352
[oweals/gnunet.git] / src / fs / fs_uri.c
index db9b7d16699d6c0c0a7e31fa6449b6456002ed7c..0c2d64caca85186b4c5247e039e62ac935c994e1 100644 (file)
@@ -1377,13 +1377,13 @@ GNUNET_FS_uri_sks_to_string_fancy (struct GNUNET_CONFIGURATION_Handle *cfg,
                                    const struct GNUNET_FS_Uri *uri)
 {
   char *ret;
-  char *name, *unique_name;
-  int getinfo_result;
+  char *name;
+  char *unique_name;
 
   if (uri->type != sks)
     return NULL;
-  getinfo_result = GNUNET_PSEUDONYM_get_info (cfg, &uri->data.sks.namespace,
-      NULL, NULL, &name, NULL);
+  (void) GNUNET_PSEUDONYM_get_info (cfg, &uri->data.sks.namespace,
+                                   NULL, NULL, &name, NULL);
   unique_name = GNUNET_PSEUDONYM_name_uniquify (cfg, &uri->data.sks.namespace, name, NULL);
   GNUNET_free (name);
   GNUNET_asprintf (&ret, "%s: %s", unique_name, uri->data.sks.identifier);
@@ -1501,6 +1501,10 @@ find_duplicate (const char *s, const char **array, int array_length)
   return GNUNET_NO;
 }
 
+
+/**
+ * FIXME: comment
+ */
 static char *
 normalize_metadata (enum EXTRACTOR_MetaFormat format, const char *data,
     size_t data_len)