diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/main.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 8579a67..350006c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2005-03-03 Herbert Xu <herbert@gondor.apana.org.au> * Removed qflag. + * Removed redundant setstackmark from dotcmd. 2005-03-02 Herbert Xu <herbert@gondor.apana.org.au> diff --git a/src/main.c b/src/main.c index f418cc5..31d559d 100644 --- a/src/main.c +++ b/src/main.c @@ -345,15 +345,12 @@ dotcmd(int argc, char **argv) if (argc >= 2) { /* That's what SVR2 does */ char *fullname; - struct stackmark smark; - setstackmark(&smark); fullname = find_dot_file(argv[1]); setinputfile(fullname, 1); commandname = fullname; cmdloop(0); popfile(); - popstackmark(&smark); } return exitstatus; } |