diff options
author | Stefan Krah <skrah@bytereef.org> | 2020-02-29 22:08:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 22:08:04 (GMT) |
commit | fec6681f7ae3e8867bd0446aa993a0b5f23045f9 (patch) | |
tree | 20048ce2fd81a4be520fc8ad8dab02cb908580aa /Modules/_decimal | |
parent | 70d7a62c7c8fd6baabf1e13c33773db79db7a9f4 (diff) | |
download | cpython-fec6681f7ae3e8867bd0446aa993a0b5f23045f9.zip cpython-fec6681f7ae3e8867bd0446aa993a0b5f23045f9.tar.gz cpython-fec6681f7ae3e8867bd0446aa993a0b5f23045f9.tar.bz2 |
[3.8] Explicitly initialize like the surrounding code (GH-18717)
Diffstat (limited to 'Modules/_decimal')
-rw-r--r-- | Modules/_decimal/_decimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c index 4358c4d..df7c6e2 100644 --- a/Modules/_decimal/_decimal.c +++ b/Modules/_decimal/_decimal.c @@ -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 |