Skip to content

Commit

Permalink
[crypto] Fix unused-but-set variable warning
Browse files Browse the repository at this point in the history
Reported-by: Brandon Penglase <bpenglase-ipxe@spaceservices.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed May 23, 2012
1 parent 658c25a commit 5af9ad5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/net/validator.c
Expand Up @@ -455,7 +455,6 @@ static struct interface_descriptor validator_xfer_desc =
*/
static void validator_step ( struct validator *validator ) {
struct x509_link *link;
struct x509_link *previous;
struct x509_certificate *cert;
struct x509_certificate *issuer = NULL;
struct x509_certificate *last;
Expand All @@ -479,7 +478,6 @@ static void validator_step ( struct validator *validator ) {
list_for_each_entry ( link, &validator->chain->links, list ) {
cert = issuer;
issuer = link->cert;
previous = link;
if ( ! cert )
continue;
if ( ! issuer->valid )
Expand Down

0 comments on commit 5af9ad5

Please sign in to comment.