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