diff options
Diffstat (limited to 'gdb/python/py-value.c')
-rw-r--r-- | gdb/python/py-value.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 65750a4..67e6c4e 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -577,11 +577,9 @@ get_field_type (PyObject *field) ftype = type_object_to_type (ftype_obj); Py_DECREF (ftype_obj); if (ftype == NULL) - { - PyErr_SetString (PyExc_TypeError, - _("'type' attribute of gdb.Field object is not a " - "gdb.Type object.")); - } + PyErr_SetString (PyExc_TypeError, + _("'type' attribute of gdb.Field object is not a " + "gdb.Type object.")); return ftype; } |