aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-09-14 15:37:14 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-09-14 15:37:14 +0000
commitef77e8e73a956d8853899f4b768e4e03b3b696d7 (patch)
tree288ca28b7f77804079777a5fd35825bc444fe291 /src
parentdcb600c99cbff5ea0e30e0c467a2bc295777b598 (diff)
downloadcflow-ef77e8e73a956d8853899f4b768e4e03b3b696d7.tar.gz
cflow-ef77e8e73a956d8853899f4b768e4e03b3b696d7.tar.bz2
Reverted change
Diffstat (limited to 'src')
-rw-r--r--src/output.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/output.c b/src/output.c
index 180585f..4390d6d 100644
--- a/src/output.c
+++ b/src/output.c
@@ -410,16 +410,13 @@ output()
error(2, errno, _("cannot open file `%s'"), outname);
}
+ level_mark = xmalloc(level_mark_size);
+ set_level_mark(0, 0);
if (print_option & PRINT_XREF) {
xref_output();
- }
-
- if (level_mark_size) {
- level_mark = xmalloc(level_mark_size);
- set_level_mark(0, 0);
- if (print_option & PRINT_TREE) {
- tree_output();
- }
+ }
+ if (print_option & PRINT_TREE) {
+ tree_output();
}
fclose(outfile);
}

Return to:

Send suggestions and report system problems to the System administrator.