aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sparse.c
diff options
Diffstat (limited to 'sparse.c')
-rw-r--r--sparse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sparse.c b/sparse.c
index 975c0a4b..151eaf4e 100644
--- a/sparse.c
+++ b/sparse.c
@@ -334,6 +334,9 @@ int main(int argc, char **argv)
struct string_list *filelist = NULL;
char *file;
+ // by default ignore -o <file>
+ do_output = 0;
+
// Expand, linearize and show it.
check_symbols(sparse_initialize(argc, argv, &filelist));
FOR_EACH_PTR(filelist, file) {