diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-09-17 09:13:44 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-09-17 09:13:44 +0200 |
commit | 7fb25e8771e00212899fb2bd4681f97dd9638f8f (patch) | |
tree | cbf61e26861fe0d3b623bb38f30610cfc0ddd5cf /lib/verify-tofu.c | |
parent | 85858d50e0efe6122891f123693a4de8ecef9a41 (diff) | |
download | gnutls-7fb25e8771e00212899fb2bd4681f97dd9638f8f.tar.gz |
removed unused variable
Diffstat (limited to 'lib/verify-tofu.c')
-rw-r--r-- | lib/verify-tofu.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; } |