diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-01 16:48:05 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-01 16:48:05 +0000 |
commit | b842430e032b18e60be236d9f0ae152b05acbd8c (patch) | |
tree | 4f89d241301866d0817c73356ce57a41d6e43809 /gcc/gen-protos.c | |
parent | 11f1c7673a6919f3a94db3fb8fea0b7a3cc5f302 (diff) | |
download | gcc-b842430e032b18e60be236d9f0ae152b05acbd8c.tar.gz |
* gen-protos.c (main): Revert patch to check for argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67303 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gen-protos.c')
-rw-r--r-- | gcc/gen-protos.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c index 64ef406cf88..04fb3c58c81 100644 --- a/gcc/gen-protos.c +++ b/gcc/gen-protos.c @@ -137,9 +137,6 @@ main (int argc, char **argv) sstring linebuf; struct fn_decl fn_decl; - if (argc <= 1) - fatal ("no input file name"); - i = strlen (argv[0]); while (i > 0 && argv[0][i-1] != '/') --i; progname = &argv[0][i]; |