提交 8bd8221b 编写于 作者: M Matt Caswell

Variable was declared static when it shouldn't be

The local variable tmp was declared static when it shouldn't be. This
is in the no-threads implementation, and it was immediately initialised
to something else on every invokation of the function so it doesn't break
anything...but still shouldn't be there.
Reviewed-by: NKurt Roeckx <kurt@openssl.org>
上级 5e136d7a
......@@ -99,7 +99,7 @@ static void ossl_init_thread_stop_cleanup(void)
static struct thread_local_inits_st *local = NULL;
static struct thread_local_inits_st *ossl_init_get_thread_local(int alloc)
{
static struct thread_local_inits_st *tmp;
struct thread_local_inits_st *tmp;
tmp = local;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册