summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-05-07 07:41:49 +0000
committerChristian Grothoff <christian@grothoff.org>2011-05-07 07:41:49 +0000
commit956e1d5f2b0986df2cceed165953e9a6f5e4f2cd (patch)
tree6c18e126e5defd79657135650fcbfc7484a5c2ad /src
parent4dd3241bc0cdcb58dd4ef64a0e65eea9f9a74f64 (diff)
cleaning
Diffstat (limited to 'src')
-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)
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;