summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorherbert <herbert@gondor.apana.org.au>2005-03-03 21:52:11 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2005-09-26 18:33:04 +1000
commit3a0c230122b62cabfc0a4464c0941ce2ac5a8655 (patch)
tree0acb5776f80157d4459cd2efc81e67556b5d13ef /src
parentRemoved qflag. (diff)
downloaddash-3a0c230122b62cabfc0a4464c0941ce2ac5a8655.tar.gz
dash-3a0c230122b62cabfc0a4464c0941ce2ac5a8655.zip
Removed redundant setstackmark from dotcmd.
Diffstat (limited to '')
-rw-r--r--src/main.c3
1 files changed, 0 insertions, 3 deletions
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;
 }