From 61fa8d5b6657a6fff709bddbee097da9bd2c4e60 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 19 Feb 2026 11:37:59 +0100 Subject: [PATCH] cleanup: Initialize optional fields in profModule Let's initialize them with NULL to make the compiler happy. --- src/plugins/python_api.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plugins/python_api.c b/src/plugins/python_api.c index c8a04a8f..57222687 100644 --- a/src/plugins/python_api.c +++ b/src/plugins/python_api.c @@ -1583,7 +1583,11 @@ static struct PyModuleDef profModule = { "prof", "", -1, - apiMethods + apiMethods, + NULL, /* m_slots */ + NULL, /* m_traverse */ + NULL, /* m_clear */ + NULL /* m_free */ }; #endif