fixes
authorChristian Grothoff <christian@grothoff.org>
Mon, 7 Sep 2009 12:44:07 +0000 (12:44 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 7 Sep 2009 12:44:07 +0000 (12:44 +0000)
src/datastore/perf_datastore_api.c
src/hello/test_hello.c
src/util/getopt_helpers.c

index 5fdf74f229407c43d6eb3b0502a909ec1aa573ea..0df55f878860fea12cda88cf1fbf45396a4244c5 100644 (file)
@@ -288,7 +288,6 @@ run_continuation (void *cls,
                                   TIMEOUT);
       break;
     case RP_REPORT:
-      size = 0;
       printf (
 #if REPORT_ID
                "\n"
index 51da7fc75645eb49670c4b015b14aa4d484356f0..2f61bd702bb3f2d567ff61920a2ab27ca61b3417 100644 (file)
@@ -98,12 +98,10 @@ main (int argc, char *argv[])
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded publicKey;
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pk;
   struct GNUNET_TIME_Absolute startup_time;
-  int ok;
   unsigned int i;
 
   GNUNET_log_setup ("test-hello", "DEBUG", NULL);
   startup_time = GNUNET_TIME_absolute_get ();
-  ok = 0;
   memset (&publicKey, 42, sizeof (publicKey));
   fprintf (stderr, "Testing HELLO creation (without addresses)...\n");
   i = 0;
index a8a800a006fa545fd02a8ece059bc790871c87dc..d3a5986267f7f0510142ea39d7967b79b0b4768f 100644 (file)
@@ -84,7 +84,7 @@ GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext
         }
       if (slen < BORDER)
         {
-          printf ("%*s", BORDER - slen, "");
+          printf ("%*s", (int) (BORDER - slen), "");
           slen = BORDER;
         }
       trans = gettext (opt[i].description);