* python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
* python/python.c (gdbpy_find_pc_line): Ditto.
This commit is contained in:
parent
c4a9e8b4e3
commit
62d7fb5171
|
@ -1,3 +1,8 @@
|
|||
2013-02-28 Doug Evans <dje@google.com>
|
||||
|
||||
* python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
|
||||
* python/python.c (gdbpy_find_pc_line): Ditto.
|
||||
|
||||
2013-02-28 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* contrib/excheck.py: New file.
|
||||
|
|
|
@ -160,7 +160,8 @@ bpfinishpy_init (PyObject *self, PyObject *args, PyObject *kwargs)
|
|||
int type = bp_breakpoint;
|
||||
PyObject *frame_obj = NULL;
|
||||
int thread;
|
||||
struct frame_info *frame, *prev_frame = NULL;
|
||||
struct frame_info *frame = NULL; /* init for gcc -Wall */
|
||||
struct frame_info *prev_frame = NULL;
|
||||
struct frame_id frame_id;
|
||||
PyObject *internal = NULL;
|
||||
int internal_bp = 0;
|
||||
|
|
|
@ -740,7 +740,7 @@ gdbpy_find_pc_line (PyObject *self, PyObject *args)
|
|||
{
|
||||
gdb_py_ulongest pc_llu;
|
||||
volatile struct gdb_exception except;
|
||||
PyObject *result;
|
||||
PyObject *result = NULL; /* init for gcc -Wall */
|
||||
|
||||
if (!PyArg_ParseTuple (args, GDB_PY_LLU_ARG, &pc_llu))
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue