[Python-checkins] Cosmetic change to match the surrounding code. (#18704)

Stefan Krah webhook-mailer at python.org
Sat Feb 29 14:07:56 EST 2020


https://github.com/python/cpython/commit/eb47fd58ab6483857661aa0822986538a68aa0e5
commit: eb47fd58ab6483857661aa0822986538a68aa0e5
branch: master
author: Stefan Krah <skrah at bytereef.org>
committer: GitHub <noreply at github.com>
date: 2020-02-29T20:07:48+01:00
summary:

Cosmetic change to match the surrounding code. (#18704)

files:
M Modules/_decimal/_decimal.c

diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c
index 617941bc5ec88..b36e30972172d 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



More information about the Python-checkins mailing list