scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 902358fce055ddb7953206e6e08801cf47a993c5
parent 03bba83a92190d8d71bf3dbbdbf39aba2832d780
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 28 Nov 2017 15:06:47 +0000

[objdump] Fix 0 arguments case

Diffstat:
Mobjdump/main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/objdump/main.c b/objdump/main.c @@ -247,7 +247,7 @@ main(int argc, char *argv[]) usage(); } ARGEND - if (argc == 1) + if (argc == 0) dump("a.out"); else while (*++argv) { free(strings);