commit | e6917d05d3e420c3d2a459b8ce6297846b76a4d6 | [log] [tgz] |
---|---|---|
author | David Horstmann <david.horstmann@arm.com> | Tue Oct 18 17:42:22 2022 +0100 |
committer | David Horstmann <david.horstmann@arm.com> | Mon Oct 24 15:30:30 2022 +0100 |
tree | 9086ee721752393c99edd6cfd17d41b66c4fa07c | |
parent | 5ad5e1657db134209189185475e7aeef9144919c [diff] |
Remove unnecessary NULL assignments Signed-off-by: David Horstmann <david.horstmann@arm.com>
diff --git a/library/x509.c b/library/x509.c index 6f3fbb6..586c506 100644 --- a/library/x509.c +++ b/library/x509.c
@@ -494,14 +494,9 @@ } error: - prev = NULL; - /* Skip the first element as we did not allocate it */ allocated = head->next; - /* Make sure we cannot be followed along this list */ - head->next = NULL; - while( allocated != NULL ) { prev = allocated;