]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ctf: repair faulty indentation
authorNick Alcock <nick.alcock@oracle.com>
Mon, 25 Mar 2013 16:47:33 +0000 (16:47 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:41:43 +0000 (22:41 +0100)
Part of assemble_ctf_su_member() got misidented.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
scripts/dwarf2ctf/dwarf2ctf.c

index 224280dc10222c9aaf9209ed8983b01ed2f96a4a..205a945ed0ebe17352a0d71570b1ae3b78f85744 100644 (file)
@@ -3000,27 +3000,27 @@ static ctf_id_t assemble_ctf_su_member(const char *module_name,
         * offsets).
         */
        if (!dwarf_hasattr(die, DW_AT_name)) {
-           Dwarf_Die child_die;
-           int dummy = 0;
-
-           if ((dwarf_tag(&type_die) != DW_TAG_structure_type) &&
-               (dwarf_tag(&type_die) != DW_TAG_union_type)) {
-               fprintf(stderr, "%s:%lx: not supported: anonymous structure "
-                       "member not a structure or union.\n", locerrstr,
-                       (unsigned long) dwarf_dieoffset(die));
-               *skip = SKIP_ABORT;
-               return CTF_ERROR_REPORTED;
-           }
+               Dwarf_Die child_die;
+               int dummy = 0;
+
+               if ((dwarf_tag(&type_die) != DW_TAG_structure_type) &&
+                   (dwarf_tag(&type_die) != DW_TAG_union_type)) {
+                       fprintf(stderr, "%s:%lx: not supported: anonymous "
+                           "structure member not a structure or union.\n",
+                           locerrstr, (unsigned long) dwarf_dieoffset(die));
+                       *skip = SKIP_ABORT;
+                       return CTF_ERROR_REPORTED;
+               }
 
-           /*
-            * Anonymous structure or union with no members. Silently skip.
-            */
-           if (dwarf_child(&type_die, &child_die) < 0)
-                   return parent_ctf_id;
+               /*
+                * Anonymous structure or union with no members. Silently skip.
+                */
+               if (dwarf_child(&type_die, &child_die) < 0)
+                       return parent_ctf_id;
 
-           die_to_ctf(module_name, file_name, &child_die, parent_die, ctf,
-                      parent_ctf_id, offset, 0, skip, &dummy, NULL);
-           return parent_ctf_id;
+               die_to_ctf(module_name, file_name, &child_die, parent_die, ctf,
+                   parent_ctf_id, offset, 0, skip, &dummy, NULL);
+               return parent_ctf_id;
        }
 
        /*