From 956e1d5f2b0986df2cceed165953e9a6f5e4f2cd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 7 May 2011 07:41:49 +0000 Subject: [PATCH] cleaning --- src/peerinfo/perf_peerinfo_api.c | 2 -- src/statistics/test_statistics_api_watch.c | 2 -- 2 files changed, 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) struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey; struct GNUNET_PeerIdentity pid; struct GNUNET_HELLO_Message *h2; - size_t agc; - agc = 2; memset (&pkey, i, sizeof (pkey)); GNUNET_CRYPTO_hash (&pkey, sizeof (pkey), &pid.hashPubKey); 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, uint64_t value, int is_persistent) { - fprintf (stderr, "Value `%s' seen\n", name); GNUNET_assert (value == 42); GNUNET_assert (0 == strcmp (name, "test-1")); ok &= ~1; @@ -87,7 +86,6 @@ watch_2 (void *cls, uint64_t value, int is_persistent) { - fprintf (stderr, "Value `%s' seen\n", name); GNUNET_assert (value == 43); GNUNET_assert (0 == strcmp (name, "test-2")); ok &= ~2; -- 2.25.1