remove dead assignments
[oweals/gnunet.git] / src / transport / plugin_transport_http_common.c
index 4c64d2bf7e9c8cd4468f61105b35d2a4ff71ec07..7a7f9ad0c236c3f9b18e5d638d92c5ec88f20aa6 100644 (file)
@@ -320,7 +320,6 @@ http_common_plugin_string_to_address (void *cls,
   address = NULL;
   plugin = NULL;
   optionstr = NULL;
-  options = 0;
   if ((NULL == addr) || (addrlen == 0))
   {
     GNUNET_break (0);
@@ -346,7 +345,7 @@ http_common_plugin_string_to_address (void *cls,
   }
   optionstr[0] = '\0';
   optionstr ++;
-  options = atol (optionstr);
+  options = atol (optionstr); /* 0 on conversion error, that's ok */
   address = strchr (optionstr, '.');
   if (NULL == address)
   {