aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-objfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-objfile.c')
-rw-r--r--gdb/python/py-objfile.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/python/py-objfile.c b/gdb/python/py-objfile.c
index 16584f7c8f8..5d7cfe83ec2 100644
--- a/gdb/python/py-objfile.c
+++ b/gdb/python/py-objfile.c
@@ -483,8 +483,6 @@ objfpy_lookup_global_symbol (PyObject *self, PyObject *args, PyObject *kw)
{
return gdbpy_handle_gdb_exception (nullptr, except);
}
-
- Py_RETURN_NONE;
}
/* Implementation of
@@ -518,8 +516,6 @@ objfpy_lookup_static_symbol (PyObject *self, PyObject *args, PyObject *kw)
{
return gdbpy_handle_gdb_exception (nullptr, except);
}
-
- Py_RETURN_NONE;
}
/* Implement repr() for gdb.Objfile. */