From: Joel Brobecker Date: Wed, 15 Jan 2014 12:28:08 +0000 (+0400) Subject: Add missing empty line after declarations in "if" block (py-type.c). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8f35c2ec3264c1825412ecb1eac22192a972917;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6ca36558418..5702257982b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-01-15 Joel Brobecker + + * python/py-type.c (convert_field): Add missing empty line + after declarations. + 2014-01-14 Doug Evans * symfile.h (expand_symtabs_matching): Renamed from diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c index c904d3af3fe..26d01185c39 100644 --- a/gdb/python/py-type.c +++ b/gdb/python/py-type.c @@ -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));