summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-06-12 19:16:40 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-13 00:05:03 +0200
commitf54dd468ec93fbd0ed03eda3fa60bc39bce9ffdb (patch)
treeca072331858ed4ebf88630d46369b3ff3ea925a0 /lib/command_py.c
parent866f6e40086f8b9080f09db5df916c5e182ff5e4 (diff)
lib/clippy: ignore -Wstrict-aliasing
This warning is both meaningless and unfixable, just ignore it. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/command_py.c')
-rw-r--r--lib/command_py.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command_py.c b/lib/command_py.c
index 58b7982665..1554af172f 100644
--- a/lib/command_py.c
+++ b/lib/command_py.c
@@ -321,6 +321,7 @@ static struct PyModuleDef pymoddef_clippy = {
} while (0)
#endif
+#pragma GCC diagnostic ignored "-Wstrict-aliasing"
PyMODINIT_FUNC command_py_init(void)
{
PyObject *pymod;