mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Replace initialiser for readonly parameter in xshandle_init that should never
have been deleted. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
5d1f08e233
commit
f7abab3a59
1 file changed
+1
-1
@@ -815,7 +815,7 @@ xshandle_init(XsHandle *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
static char *kwd_spec[] = { "readonly", NULL };
|
||||
static char *arg_spec = "|i";
|
||||
int readonly;
|
||||
int readonly = 0;
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, arg_spec, kwd_spec,
|
||||
&readonly))
|
||||
|
||||