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:25:48 +0200 |
commit | 6e01a0b28ebfe58e53b78da4df2214be67c95ddb (patch) | |
tree | e0b2137ab48afcb7304788d07bbafb6d4ea3ba7e | |
parent | 3f107650c2f76bdc18579757289bdcbacd91aa80 (diff) | |
download | gnutls-6e01a0b28ebfe58e53b78da4df2214be67c95ddb.tar.gz |
removed unused variable
-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; } |