-fixes
authorChristian Grothoff <christian@grothoff.org>
Fri, 29 Jun 2012 13:45:06 +0000 (13:45 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 29 Jun 2012 13:45:06 +0000 (13:45 +0000)
src/namestore/gnunet-service-namestore.c
src/namestore/namestore_api.c

index 81639fcab6d4733e03570618a70854c78537dd18..b8714f08d7d1355dd34226d77930284b420f4905 100644 (file)
@@ -1646,7 +1646,7 @@ zone_iteraterate_proc (void *cls,
 {
   struct ZoneIterationProcResult *proc = cls;
   struct GNUNET_NAMESTORE_RecordData rd_filtered[rd_count];
-  struct GNUNET_CRYPTO_RsaSignature *new_signature;
+  struct GNUNET_CRYPTO_RsaSignature *new_signature = NULL;
   struct GNUNET_NAMESTORE_CryptoContainer *cc;
   struct GNUNET_HashCode long_hash;
   struct GNUNET_CRYPTO_ShortHashCode zone_hash;
@@ -1746,7 +1746,7 @@ zone_iteraterate_proc (void *cls,
                  name, GNUNET_short_h2s (&zone_hash), rd_count_filtered, 
                  (unsigned long long) expire.abs_value);
       return;
-    }
+    }    
   }
   else
   {
index 3b9675e25c0add1c6befbd570bb62ecbf5d57914..4c056c82b2774097045c67899b2c6148de526071 100644 (file)
@@ -432,8 +432,6 @@ handle_record_remove_response (struct GNUNET_NAMESTORE_QueueEntry *qe,
     break;
   default:
     GNUNET_break (0);
-    ret = GNUNET_SYSERR;
-    emsg = _("Protocol error");
     if (NULL != qe->cont)      
       qe->cont (qe->cont_cls, GNUNET_SYSERR, _("Protocol error"));
     return GNUNET_NO;