lib/clippy: ignore -Wstrict-aliasing

This warning is both meaningless and unfixable, just ignore it.

Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
David Lamparter 2019-06-12 19:16:40 +02:00
parent 866f6e4008
commit f54dd468ec

View File

@ -321,6 +321,7 @@ static struct PyModuleDef pymoddef_clippy = {
} while (0) } while (0)
#endif #endif
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
PyMODINIT_FUNC command_py_init(void) PyMODINIT_FUNC command_py_init(void)
{ {
PyObject *pymod; PyObject *pymod;