From: Christian Grothoff Date: Fri, 29 Jun 2012 13:45:06 +0000 (+0000) Subject: -fixes X-Git-Tag: initial-import-from-subversion-38251~12737 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3b3debab9a5cd72ba5ec98d04ef08209f2f5b080;p=oweals%2Fgnunet.git -fixes --- diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index 81639fcab..b8714f08d 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c @@ -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 { diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c index 3b9675e25..4c056c82b 100644 --- a/src/namestore/namestore_api.c +++ b/src/namestore/namestore_api.c @@ -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;