From: Andreas Ă–man Date: Tue, 7 Oct 2008 15:41:49 +0000 (+0000) Subject: Remove unused command line options X-Git-Tag: 2.12~783 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8cac4f2e9b2f6ce4e8f8262172ebbbaa9ed7c23a;p=thirdparty%2Ftvheadend.git Remove unused command line options --- diff --git a/main.c b/main.c index 03ead0bc9..8835f64fd 100644 --- a/main.c +++ b/main.c @@ -191,21 +191,13 @@ main(int argc, char **argv) struct passwd *pw; const char *usernam = NULL; const char *groupnam = NULL; - char *cfgfile = NULL; int logfacility = LOG_DAEMON; - int disable_dvb = 0; sigset_t set; signal(SIGPIPE, handle_sigpipe); - while((c = getopt(argc, argv, "c:fu:g:d")) != -1) { + while((c = getopt(argc, argv, "fu:g:")) != -1) { switch(c) { - case 'd': - disable_dvb = 1; - break; - case 'c': - cfgfile = optarg; - break; case 'f': forkaway = 1; break;