aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tool
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-06-25 11:02:56 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-06-25 11:02:56 +0000
commit4fd760593d819afed8b4fe13362e8340c448c461 (patch)
tree0755a57fe17d23008b35f6947e0f4326c609b03d /src/ats-tool
parent75459916930e6071373e1ca44932d2525a1cf981 (diff)
fixing coverity 10470: Uninitialized scalar variable
Diffstat (limited to 'src/ats-tool')
-rw-r--r--src/ats-tool/gnunet-ats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ats-tool/gnunet-ats.c b/src/ats-tool/gnunet-ats.c
index f8ecd3aad2..32813c3a0f 100644
--- a/src/ats-tool/gnunet-ats.c
+++ b/src/ats-tool/gnunet-ats.c
@@ -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;