Skip to content
Permalink
Browse files
[crypto] Fix unused-but-set variable warning
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 5af9ad51c8804d7992d14bbadf3ca4e4ac3ce314
Showing 1 changed file with 0 additions and 2 deletions.
@@ -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;
@@ -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 )

0 comments on commit 5af9ad5

Please sign in to comment.