Commit 033d001e authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix warnings.

In crypto/err/err.c need to initialise p to
NULL in case thread_hash is NULL. Otherwise
p will be uninitialized.
parent 284ef5f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1

File changed.

Contains only whitespace changes.