Initialize variables in Config_set_multivar with NULL
This commit is contained in:
@@ -296,9 +296,9 @@ PyObject *
|
|||||||
Config_set_multivar(Config *self, PyObject *args)
|
Config_set_multivar(Config *self, PyObject *args)
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
const char *name;
|
const char *name = NULL;
|
||||||
const char *regex;
|
const char *regex = NULL;
|
||||||
const char *value;
|
const char *value = NULL;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args, "sss", &name, ®ex, &value))
|
if (!PyArg_ParseTuple(args, "sss", &name, ®ex, &value))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user