From 73757a29d596f116a08792d0eb2d3d2afffcb195 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Fri, 15 Nov 2019 07:49:16 +0100 Subject: [PATCH] Make dumb compilers happy. --- src/python.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/python.c b/src/python.c index 84aaf4d..b41a7ff 100644 --- a/src/python.c +++ b/src/python.c @@ -1896,6 +1896,10 @@ python_kore_domain(PyObject *self, PyObject *args, PyObject *kwargs) cert = NULL; attach = NULL; +#if defined(KORE_USE_ACME) + acme = 0; +#endif + if (!PyArg_ParseTuple(args, "s", &name)) return (NULL); @@ -1921,7 +1925,6 @@ python_kore_domain(PyObject *self, PyObject *args, PyObject *kwargs) cert = python_string_from_dict(kwargs, "cert"); #if defined(KORE_USE_ACME) - acme = 0; python_bool_from_dict(kwargs, "acme", &acme); if (acme) {