# HG changeset patch # User lost # Date 1233425553 0 # Node ID 586069fb17a16920630404e235b452fe013d173b # Parent 2e6a1e914104dc473e7d9dbcc7ea5c7d1f7697b4 Actually show errors when no list is requested diff -r 2e6a1e914104 -r 586069fb17a1 lwasm/list.c --- a/lwasm/list.c Sat Jan 31 16:15:05 2009 +0000 +++ b/lwasm/list.c Sat Jan 31 18:12:33 2009 +0000 @@ -53,7 +53,7 @@ char *p; if (!as -> listfile) - return; + goto showerr; if (as -> listfile[0] == '-' && as -> listfile[1] == '\0') lf = stdout; else