aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-01-15 16:28:08 +0400
committerJoel Brobecker <brobecker@adacore.com>2014-01-15 16:32:05 +0400
commita8f35c2ec3264c1825412ecb1eac22192a972917 (patch)
treee4f0fd0e538756ab95563f957e935d893aa3b779 /gdb/python
parentdcf106f37de996b7d7eb568382fbc9f403804174 (diff)
downloadgdb-a8f35c2ec3264c1825412ecb1eac22192a972917.zip
gdb-a8f35c2ec3264c1825412ecb1eac22192a972917.tar.gz
gdb-a8f35c2ec3264c1825412ecb1eac22192a972917.tar.bz2
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.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-type.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c
index c904d3a..26d0118 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));