From 308aa937dc17cffa744eb6a170e0ef7698fe6975 Mon Sep 17 00:00:00 2001 From: Stefan Wunsch <stefan.wunsch@cern.ch> Date: Thu, 18 Apr 2019 09:22:52 +0200 Subject: [PATCH] [PyROOT exp] Fix warnings (missing-field-initializers) Set missing initializer in list, warning seen with gcc 7 and 8. --- bindings/pyroot_experimental/PyROOT/src/CppCallablePyz.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/pyroot_experimental/PyROOT/src/CppCallablePyz.cxx b/bindings/pyroot_experimental/PyROOT/src/CppCallablePyz.cxx index 5a2bb0b8d8e..00fe6cdea4d 100644 --- a/bindings/pyroot_experimental/PyROOT/src/CppCallablePyz.cxx +++ b/bindings/pyroot_experimental/PyROOT/src/CppCallablePyz.cxx @@ -692,7 +692,7 @@ static PyMethodDef CallableImplMethods[] = { {"__init__", (PyCFunction)GenericCallableImpl_init, METH_VARARGS|METH_KEYWORDS, "Parse decorator arguments"}, {"__call__", ProxyCallableImpl_call, METH_VARARGS, "Create C++ wrapper function"}, - {NULL}, + {NULL, NULL, 0, NULL} }; -- GitLab