ia64/xen-unstable

changeset 7954:6738fd14cb58

Replace initialiser for readonly parameter in xshandle_init that should never
have been deleted.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Mon Nov 21 14:48:10 2005 +0100 (2005-11-21)
parents 675862d22347
children 340effeb64b5
files tools/python/xen/lowlevel/xs/xs.c
line diff
     1.1 --- a/tools/python/xen/lowlevel/xs/xs.c	Mon Nov 21 13:17:29 2005 +0100
     1.2 +++ b/tools/python/xen/lowlevel/xs/xs.c	Mon Nov 21 14:48:10 2005 +0100
     1.3 @@ -815,7 +815,7 @@ xshandle_init(XsHandle *self, PyObject *
     1.4  {
     1.5      static char *kwd_spec[] = { "readonly", NULL };
     1.6      static char *arg_spec = "|i";
     1.7 -    int readonly;
     1.8 +    int readonly = 0;
     1.9  
    1.10      if (!PyArg_ParseTupleAndKeywords(args, kwds, arg_spec, kwd_spec,
    1.11                                       &readonly))