gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r21728 - gnunet/src/namestore


From: gnunet
Subject: [GNUnet-SVN] r21728 - gnunet/src/namestore
Date: Sat, 2 Jun 2012 16:29:55 +0200

Author: schanzen
Date: 2012-06-02 16:29:55 +0200 (Sat, 02 Jun 2012)
New Revision: 21728

Modified:
   gnunet/src/namestore/test_namestore_api_lookup.c
Log:
-fix warning


Modified: gnunet/src/namestore/test_namestore_api_lookup.c
===================================================================
--- gnunet/src/namestore/test_namestore_api_lookup.c    2012-06-02 09:07:21 UTC 
(rev 21727)
+++ gnunet/src/namestore/test_namestore_api_lookup.c    2012-06-02 14:29:55 UTC 
(rev 21728)
@@ -137,7 +137,6 @@
                             const struct GNUNET_CRYPTO_RsaSignature *signature)
 {
   static int found = GNUNET_NO;
-  int failed = GNUNET_NO;
   int c;
 
   if (n != NULL)
@@ -146,25 +145,21 @@
     if (0 != memcmp (zone_key, &pubkey, sizeof (struct 
GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded)))
     {
       GNUNET_break (0);
-      failed = GNUNET_YES;
     }
 
     if (0 != memcmp (signature, s_signature, sizeof (struct 
GNUNET_CRYPTO_RsaSignature)))
     {
       GNUNET_break (0);
-      failed = GNUNET_YES;
     }
 
     if (0 != strcmp(n, s_name))
     {
       GNUNET_break (0);
-      failed = GNUNET_YES;
     }
 
     if (RECORDS != rd_count)
     {
       GNUNET_break (0);
-      failed = GNUNET_YES;
     }
 
     for (c = 0; c < RECORDS; c++)
@@ -172,7 +167,6 @@
       if (GNUNET_NO == GNUNET_NAMESTORE_records_cmp (&rd[c], &s_rd[c]))
       {
         GNUNET_break (0);
-        failed = GNUNET_YES;
       }
     }
     found = GNUNET_YES;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]