From: Nikos Mavrogiannopoulos Date: Wed, 17 Sep 2014 07:13:44 +0000 (+0200) Subject: removed unused variable X-Git-Tag: gnutls_3_4_0~926 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fb25e8771e00212899fb2bd4681f97dd9638f8f;p=thirdparty%2Fgnutls.git removed unused variable --- diff --git a/lib/verify-tofu.c b/lib/verify-tofu.c index d646f30b3c..8ef81eef36 100644 --- a/lib/verify-tofu.c +++ b/lib/verify-tofu.c @@ -557,7 +557,6 @@ gnutls_store_pubkey(const char *db_name, const gnutls_datum_t * cert, time_t expiration, unsigned int flags) { - FILE *fd = NULL; gnutls_datum_t pubkey = { NULL, 0 }; int ret; char local_file[MAX_FILENAME]; @@ -604,8 +603,6 @@ gnutls_store_pubkey(const char *db_name, cleanup: gnutls_free(pubkey.data); - if (fd != NULL) - fclose(fd); return ret; }