summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2020-02-29 19:07:48 (GMT)
committerGitHub <noreply@github.com>2020-02-29 19:07:48 (GMT)
commiteb47fd58ab6483857661aa0822986538a68aa0e5 (patch)
tree994614a7eb5224cfb3af484ddd83f74c88dedcab
parent815280eb160af637e1347213659f9236adf78f80 (diff)
downloadcpython-eb47fd58ab6483857661aa0822986538a68aa0e5.zip
cpython-eb47fd58ab6483857661aa0822986538a68aa0e5.tar.gz
cpython-eb47fd58ab6483857661aa0822986538a68aa0e5.tar.bz2
Cosmetic change to match the surrounding code. (#18704)
-rw-r--r--Modules/_decimal/_decimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c
index 617941b..b36e309 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