From 8945a121d3fae94a27a7d83ab21e5826e9515d36 Mon Sep 17 00:00:00 2001 From: herbert Date: Thu, 3 Mar 2005 21:46:35 +1100 Subject: Removed qflag. --- src/main.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 76a75f7..f418cc5 100644 --- a/src/main.c +++ b/src/main.c @@ -271,8 +271,6 @@ STATIC void read_profile(const char *name) { int fd; - int xflag_set = 0; - int vflag_set = 0; INTOFF; if ((fd = open(name, O_RDONLY)) >= 0) @@ -280,20 +278,7 @@ read_profile(const char *name) INTON; if (fd < 0) return; - /* -q turns off -x and -v just when executing init files */ - if (qflag) { - if (xflag) - xflag = 0, xflag_set = 1; - if (vflag) - vflag = 0, vflag_set = 1; - } cmdloop(0); - if (qflag) { - if (xflag_set) - xflag = 1; - if (vflag_set) - vflag = 1; - } popfile(); } -- cgit 1.4.1