diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-06-29 13:45:06 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-06-29 13:45:06 +0000 |
commit | ac828f4a80b79a26f74d39d4fa5ce098a2a556f7 (patch) | |
tree | 6ff39f510be171df0cdbb986097a21ceca555fd3 /src | |
parent | 5f2023d431d5deb0a2ce94ba5981703d3f85dd58 (diff) |
-fixes
git-svn-id: https://gnunet.org/svn/gnunet@22384 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src')
-rw-r--r-- | src/namestore/gnunet-service-namestore.c | 4 | ||||
-rw-r--r-- | src/namestore/namestore_api.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index 81639fcab6..b8714f08d7 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 3b9675e25c..4c056c82b2 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; |