cleaning
authorChristian Grothoff <christian@grothoff.org>
Sat, 7 May 2011 07:41:49 +0000 (07:41 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 7 May 2011 07:41:49 +0000 (07:41 +0000)
src/peerinfo/perf_peerinfo_api.c
src/statistics/test_statistics_api_watch.c

index 4691570ebd8ef27a44611e6f61633c5038440c70..4f490671eba00d032cb0f1627c9b59907ec68ac0 100755 (executable)
@@ -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);
index a7ae490a7b8924308bdf987ef8c8a8d1aa01fdac..310ee5a1fe42c704b59b53dc30509f5796e08920 100644 (file)
@@ -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;