mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-20 22:05:15 +00:00
Remove unnecessary NULL assignments
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
11307a1933
commit
178ec96c89
1 changed files with 0 additions and 5 deletions
|
|
@ -538,14 +538,9 @@ int mbedtls_x509_get_name( unsigned char **p, const unsigned char *end,
|
|||
}
|
||||
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue