aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-10-07 22:02:42 +0000
committerDoug Evans <dje@google.com>2011-10-07 22:02:42 +0000
commit749fd4eab644e3b7a33f1405f1c7a960f5723c80 (patch)
treef8ed0b003afd6ab4a819bc09dc1f05e712b01375 /gdb/python
parent5631e5967f68fc1164edca6cfba4e1f394c90a30 (diff)
downloadfsf-binutils-gdb-749fd4eab644e3b7a33f1405f1c7a960f5723c80.zip
fsf-binutils-gdb-749fd4eab644e3b7a33f1405f1c7a960f5723c80.tar.gz
fsf-binutils-gdb-749fd4eab644e3b7a33f1405f1c7a960f5723c80.tar.bz2
* python/py-value.c (valpy_call): Initialize ftype to avoid compiler
warning.
Diffstat (limited to 'gdb/python')
-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)
{