Fix some warnings produced by different compilers. (#5593)

This commit is contained in:
Serhiy Storchaka 2018-02-09 17:31:26 +02:00 committed by GitHub
parent 5bb0005f9f
commit bfe4fd5f2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 7 deletions

View file

@ -17,7 +17,7 @@
extern "C" {
#endif
_Py_HashSecret_t _Py_HashSecret = {0};
_Py_HashSecret_t _Py_HashSecret = {{0}};
#if Py_HASH_ALGORITHM == Py_HASH_EXTERNAL
extern PyHash_FuncDef PyHash_Func;