From 749fd4eab644e3b7a33f1405f1c7a960f5723c80 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 7 Oct 2011 22:02:42 +0000 Subject: * python/py-value.c (valpy_call): Initialize ftype to avoid compiler warning. --- gdb/python/py-value.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/py-value.c') diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 98835b5..d22fb06 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -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) { -- cgit v1.1