* python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.

* python/python.c (gdbpy_find_pc_line): Ditto.
This commit is contained in:
Doug Evans 2013-02-28 20:01:10 +00:00
parent c4a9e8b4e3
commit 62d7fb5171
3 changed files with 8 additions and 2 deletions

View file

@ -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;