gdb/ChangeLog:
* python/py-value.c (get_field_type): Remove unnecessary curly
braces for single-statement if block.
Tested on x86_64-linux.
2014-01-15 Joel Brobecker <brobecker@adacore.com>
+ * python/py-value.c (get_field_type): Remove unnecessary curly
+ braces for single-statement if block.
+
+2014-01-15 Joel Brobecker <brobecker@adacore.com>
+
* python/py-type.c (convert_field): Add missing empty line
after declarations.
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;
}