From 62d7fb51718b98d4322ebd15df5907d4a0984100 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 28 Feb 2013 20:01:10 +0000 Subject: * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint. * python/python.c (gdbpy_find_pc_line): Ditto. --- gdb/python/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/python.c') diff --git a/gdb/python/python.c b/gdb/python/python.c index 405eb5b..24be906 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -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; -- cgit v1.1