changeset 102:dbf1b926c2f1

Made listings off be default
author lost
date Fri, 23 Jan 2009 04:42:39 +0000
parents f59c0916753d
children 26c058fa0bc1
files src/list.c src/main.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/list.c	Fri Jan 23 03:36:27 2009 +0000
+++ b/src/list.c	Fri Jan 23 04:42:39 2009 +0000
@@ -52,6 +52,8 @@
 	int c, c3;
 	char *p;
 	
+	if (!as -> listfile)
+		return;
 	if (as -> listfile[0] == '-' && as -> listfile[1] == '\0')
 		lf = stdout;
 	else
--- a/src/main.c	Fri Jan 23 03:36:27 2009 +0000
+++ b/src/main.c	Fri Jan 23 04:42:39 2009 +0000
@@ -153,8 +153,6 @@
 	asmstate_t asmstate = { 0 };
 
 	argp_parse(&argp, argc, argv, 0, 0, &asmstate);
-	if (!asmstate.listfile)
-		asmstate.listfile = "-";
 
 	if (!asmstate.infile)
 	{