Fix some warnings produced by different compilers. (GH-5593) (GH-5600)

(cherry picked from commit bfe4fd5f2e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-02-09 07:56:34 -08:00 committed by Serhiy Storchaka
parent 3a047a781a
commit 7df80492fc
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;