[3.8] Explicitly initialize like the surrounding code (GH-18717)

This commit is contained in:
Stefan Krah 2020-02-29 23:08:04 +01:00 committed by GitHub
parent 70d7a62c7c
commit fec6681f7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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