aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/peerinfo/perf_peerinfo_api.c2
-rw-r--r--src/statistics/test_statistics_api_watch.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/peerinfo/perf_peerinfo_api.c b/src/peerinfo/perf_peerinfo_api.c
index 4691570eb..4f490671e 100755
--- a/src/peerinfo/perf_peerinfo_api.c
+++ b/src/peerinfo/perf_peerinfo_api.c
@@ -94,9 +94,7 @@ add_peer (size_t i)
94 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey; 94 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey;
95 struct GNUNET_PeerIdentity pid; 95 struct GNUNET_PeerIdentity pid;
96 struct GNUNET_HELLO_Message *h2; 96 struct GNUNET_HELLO_Message *h2;
97 size_t agc;
98 97
99 agc = 2;
100 memset (&pkey, i, sizeof (pkey)); 98 memset (&pkey, i, sizeof (pkey));
101 GNUNET_CRYPTO_hash (&pkey, sizeof (pkey), &pid.hashPubKey); 99 GNUNET_CRYPTO_hash (&pkey, sizeof (pkey), &pid.hashPubKey);
102 h2 = GNUNET_HELLO_create (&pkey, &address_generator, &i); 100 h2 = GNUNET_HELLO_create (&pkey, &address_generator, &i);
diff --git a/src/statistics/test_statistics_api_watch.c b/src/statistics/test_statistics_api_watch.c
index a7ae490a7..310ee5a1f 100644
--- a/src/statistics/test_statistics_api_watch.c
+++ b/src/statistics/test_statistics_api_watch.c
@@ -68,7 +68,6 @@ watch_1 (void *cls,
68 uint64_t value, 68 uint64_t value,
69 int is_persistent) 69 int is_persistent)
70{ 70{
71 fprintf (stderr, "Value `%s' seen\n", name);
72 GNUNET_assert (value == 42); 71 GNUNET_assert (value == 42);
73 GNUNET_assert (0 == strcmp (name, "test-1")); 72 GNUNET_assert (0 == strcmp (name, "test-1"));
74 ok &= ~1; 73 ok &= ~1;
@@ -87,7 +86,6 @@ watch_2 (void *cls,
87 uint64_t value, 86 uint64_t value,
88 int is_persistent) 87 int is_persistent)
89{ 88{
90 fprintf (stderr, "Value `%s' seen\n", name);
91 GNUNET_assert (value == 43); 89 GNUNET_assert (value == 43);
92 GNUNET_assert (0 == strcmp (name, "test-2")); 90 GNUNET_assert (0 == strcmp (name, "test-2"));
93 ok &= ~2; 91 ok &= ~2;