commit | 178ec96c89c30b271b43c0fe77615a059fafc3ca | [log] [tgz] |
---|---|---|
author | David Horstmann <david.horstmann@arm.com> | Tue Oct 18 17:42:22 2022 +0100 |
committer | David Horstmann <david.horstmann@arm.com> | Tue Oct 18 18:09:30 2022 +0100 |
tree | a06946af6d90e493cf3f5e50cfa977eef0be2a67 | |
parent | 11307a1933cbcb36ad9a066c6c345e4bf9f90127 [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 4035074..812eba8 100644 --- a/library/x509.c +++ b/library/x509.c
@@ -538,14 +538,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;