aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-value.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-value.c')
-rw-r--r--gdb/python/py-value.c2
1 files changed, 1 insertions, 1 deletions
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)
{