[3.8] Explicitly initialize like the surrounding code (GH-18717)
This commit is contained in:
parent
70d7a62c7c
commit
fec6681f7a
|
@ -128,7 +128,7 @@ static PyObject *tls_context_key = NULL;
|
|||
/* Invariant: NULL or the most recently accessed thread local context */
|
||||
static PyDecContextObject *cached_context = NULL;
|
||||
#else
|
||||
static PyObject *current_context_var;
|
||||
static PyObject *current_context_var = NULL;
|
||||
#endif
|
||||
|
||||
/* Template for creating new thread contexts, calling Context() without
|
||||
|
|
Loading…
Reference in New Issue