Add missing empty line after declarations in "if" block (py-type.c).

This patch fixes a small coding-style violation...

gdb/ChangeLog:

        * python/py-type.c (convert_field): Add missing empty line
        after declarations.
This commit is contained in:
Joel Brobecker 2014-01-15 16:28:08 +04:00
parent dcf106f37d
commit a8f35c2ec3
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-01-15 Joel Brobecker <brobecker@adacore.com>
* python/py-type.c (convert_field): Add missing empty line
after declarations.
2014-01-14 Doug Evans <dje@google.com>
* symfile.h (expand_symtabs_matching): Renamed from

View File

@ -210,6 +210,7 @@ convert_field (struct type *type, int field)
if (TYPE_FIELD_NAME (type, field))
{
const char *field_name = TYPE_FIELD_NAME (type, field);
if (field_name[0] != '\0')
{
arg = PyString_FromString (TYPE_FIELD_NAME (type, field));