* python/py-value.c (valpy_call): Initialize ftype to avoid compiler

warning.
This commit is contained in:
Doug Evans 2011-10-07 22:02:42 +00:00
parent 5631e5967f
commit 749fd4eab6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-10-07 Doug Evans <dje@google.com>
* python/py-value.c (valpy_call): Initialize ftype to avoid compiler
warning.
2011-10-07 Pedro Alves <pedro@codesourcery.com>
* linux-nat.h (ALL_LWPS): Remove the ptid parameter.

View File

@ -515,7 +515,7 @@ valpy_call (PyObject *self, PyObject *args, PyObject *keywords)
volatile struct gdb_exception except;
struct value *function = ((value_object *) self)->value;
struct value **vargs = NULL;
struct type *ftype;
struct type *ftype = NULL;
TRY_CATCH (except, RETURN_MASK_ALL)
{