提交 033d001e 编写于 作者: D Dr. Stephen Henson

Fix warnings.

In crypto/err/err.c need to initialise p to
NULL in case thread_hash is NULL. Otherwise
p will be uninitialized.
上级 284ef5f3
......@@ -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;
......
......@@ -91,7 +91,7 @@ const char *RAND_file_name(char *file,int num);
int RAND_status(void);
int RAND_egd(const char *path);
int RAND_egd_bytes(const char *path,int bytes);
void ERR_load_RAND_strings(void);
void ERR_load_RAND_strings(void);
int RAND_poll(void);
#ifdef __cplusplus
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册