Fix warnings.

In crypto/err/err.c need to initialise p to
NULL in case thread_hash is NULL. Otherwise
p will be uninitialized.
This commit is contained in:
Dr. Stephen Henson 2000-07-26 01:39:23 +00:00
parent 284ef5f357
commit 033d001e90
2 changed files with 2 additions and 2 deletions

View File

@ -644,7 +644,7 @@ static int pid_cmp(ERR_STATE *a, ERR_STATE *b)
void ERR_remove_state(unsigned long pid)
{
ERR_STATE *p,tmp;
ERR_STATE *p = NULL,tmp;
if (thread_hash == NULL)
return;