summaryrefslogtreecommitdiff
path: root/Modules/_decimal/_decimal.c
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2020-02-29 20:07:48 +0100
committerGitHub <noreply@github.com>2020-02-29 20:07:48 +0100
commiteb47fd58ab6483857661aa0822986538a68aa0e5 (patch)
tree994614a7eb5224cfb3af484ddd83f74c88dedcab /Modules/_decimal/_decimal.c
parent815280eb160af637e1347213659f9236adf78f80 (diff)
downloadcpython-git-eb47fd58ab6483857661aa0822986538a68aa0e5.tar.gz
Cosmetic change to match the surrounding code. (#18704)
Diffstat (limited to 'Modules/_decimal/_decimal.c')
-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 617941bc5e..b36e309721 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