fixing coverity 10470: Uninitialized scalar variable
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 25 Jun 2013 11:02:56 +0000 (11:02 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 25 Jun 2013 11:02:56 +0000 (11:02 +0000)
src/ats-tool/gnunet-ats.c

index f8ecd3aad27c44f5363e900ddbc972893f5beb28..32813c3a0f4579180559275b7a30a4177f88e6a5 100644 (file)
@@ -165,6 +165,7 @@ transport_addr_to_str_cb (void *cls, const char *address)
   if (NULL != address)
   {
     ats_str = GNUNET_strdup("");
+    network = GNUNET_ATS_NET_UNSPECIFIED;
     for (c = 0; c < pr->ats_count; c++)
     {
         ats_tmp = ats_str;