This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit/obv] Add missing empty line after declarations in "if" block (py-type.c).


Hello,

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

gdb/ChangeLog:

        * python/py-type.c (convert_field): Add missing empty line
        after declarations.

Tested on x86_64-linux by rebuilding GDB.
Pushing momentarily...

---
 gdb/python/py-type.c | 1 +
 1 file changed, 1 insertion(+)

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));
-- 
1.8.3.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]