Make dumb compilers happy.

This commit is contained in:
Joris Vink 2019-11-15 07:49:16 +01:00
parent 0aa4769777
commit 73757a29d5
1 changed files with 4 additions and 1 deletions

View File

@ -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) {