summaryrefslogtreecommitdiffstats
path: root/Python/pyhash.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-12-31 18:04:13 (GMT)
committerGitHub <noreply@github.com>2017-12-31 18:04:13 (GMT)
commit0a37a30037073a4a9ba45e560c8445048e5f2ba2 (patch)
tree9728950510e4e4ffe0edecca86dcf305393f5a87 /Python/pyhash.c
parent6c6d3a46087bacb9c767c8cf2185505348d3796d (diff)
downloadcpython-0a37a30037073a4a9ba45e560c8445048e5f2ba2.zip
cpython-0a37a30037073a4a9ba45e560c8445048e5f2ba2.tar.gz
cpython-0a37a30037073a4a9ba45e560c8445048e5f2ba2.tar.bz2
closes bpo-32460: ensure all non-static globals have initializers (#5061)
Diffstat (limited to 'Python/pyhash.c')
-rw-r--r--Python/pyhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pyhash.c b/Python/pyhash.c
index 1537a0f..a0850d0 100644
--- a/Python/pyhash.c
+++ b/Python/pyhash.c
@@ -17,7 +17,7 @@
extern "C" {
#endif
-_Py_HashSecret_t _Py_HashSecret;
+_Py_HashSecret_t _Py_HashSecret = {0};
#if Py_HASH_ALGORITHM == Py_HASH_EXTERNAL
extern PyHash_FuncDef PyHash_Func;