diff options
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-breakpoint.c | 3 | ||||
-rw-r--r-- | gdb/python/py-infevents.c | 1 | ||||
-rw-r--r-- | gdb/python/py-record-btrace.c | 1 | ||||
-rw-r--r-- | gdb/python/py-type.c | 1 | ||||
-rw-r--r-- | gdb/python/py-value.c | 1 | ||||
-rw-r--r-- | gdb/python/python.c | 1 |
6 files changed, 0 insertions, 8 deletions
diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c index 5bc073e..2574683 100644 --- a/gdb/python/py-breakpoint.c +++ b/gdb/python/py-breakpoint.c @@ -484,8 +484,6 @@ bppy_get_commands (PyObject *self, void *closure) { gdbpy_breakpoint_object *self_bp = (gdbpy_breakpoint_object *) self; struct breakpoint *bp = self_bp->bp; - long length; - PyObject *result; BPPY_REQUIRE_VALID (self_bp); @@ -936,7 +934,6 @@ gdbpy_breakpoint_modified (struct breakpoint *b) int num = b->number; PyGILState_STATE state; struct breakpoint *bp = NULL; - gdbpy_breakpoint_object *bp_obj; state = PyGILState_Ensure (); bp = get_breakpoint (num); diff --git a/gdb/python/py-infevents.c b/gdb/python/py-infevents.c index 825a892..2464f8b 100644 --- a/gdb/python/py-infevents.c +++ b/gdb/python/py-infevents.c @@ -29,7 +29,6 @@ create_inferior_call_event_object (inferior_call_kind flag, ptid_t ptid, CORE_ADDR addr) { gdbpy_ref<> event; - int failed; switch (flag) { diff --git a/gdb/python/py-record-btrace.c b/gdb/python/py-record-btrace.c index 220990b..55f673e 100644 --- a/gdb/python/py-record-btrace.c +++ b/gdb/python/py-record-btrace.c @@ -464,7 +464,6 @@ static PyObject * btpy_list_item (PyObject *self, Py_ssize_t index) { const btpy_list_object * const obj = (btpy_list_object *) self; - struct thread_info * const tinfo = find_thread_ptid (obj->ptid); Py_ssize_t number; if (index < 0 || index >= btpy_list_length (self)) diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c index 51184ca..1453df5 100644 --- a/gdb/python/py-type.c +++ b/gdb/python/py-type.c @@ -965,7 +965,6 @@ static PyObject * typy_str (PyObject *self) { string_file thetype; - PyObject *result; TRY { diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 11f1fc9..b1ab824 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -874,7 +874,6 @@ valpy_call (PyObject *self, PyObject *args, PyObject *keywords) struct value *function = ((value_object *) self)->value; struct value **vargs = NULL; struct type *ftype = NULL; - struct value *mark = value_mark (); PyObject *result = NULL; TRY diff --git a/gdb/python/python.c b/gdb/python/python.c index c29a46b..44ca121 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -1660,7 +1660,6 @@ static bool do_start_initialization () { #ifdef IS_PY3K - int i; size_t progsize, count; wchar_t *progname_copy; #endif |