FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.8] Explicitly initialize like the surrounding code (GH-18717) · python-emscripten/cpython@fec6681 · GitHub

Repository navigation

Commit fec6681

Browse files
authored
[3.8] Explicitly initialize like the surrounding code (pythonGH-18717)
1 parent 70d7a62 commit fec6681

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Modules/_decimal/_decimal.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static PyObject *tls_context_key = NULL;
128128
/* Invariant: NULL or the most recently accessed thread local context */
129129
static PyDecContextObject *cached_context = NULL;
130130
#else
131-
static PyObject *current_context_var;
131+
static PyObject *current_context_var = NULL;
132132
#endif
133133

134134
/* Template for creating new thread contexts, calling Context() without

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL