[LIB]: Move variable to inside only scope that uses it
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
This commit is contained in:
parent
ddc45f12be
commit
55dd0a7efa
|
@ -1145,12 +1145,13 @@ static size_t type__fprintf(struct tag *type, const char *name,
|
|||
char tbf[128];
|
||||
struct type *ctype;
|
||||
size_t printed = 0;
|
||||
int typedef_expanded = 0;
|
||||
|
||||
if (type == NULL)
|
||||
goto out_type_not_found;
|
||||
|
||||
if (expand_types) {
|
||||
int typedef_expanded = 0;
|
||||
|
||||
while (type->tag == DW_TAG_typedef) {
|
||||
ctype = tag__type(type);
|
||||
if (typedef_expanded)
|
||||
|
|
Loading…
Reference in New Issue