]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Remove unused command line options
authorAndreas Öman <andreas@lonelycoder.com>
Tue, 7 Oct 2008 15:41:49 +0000 (15:41 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Tue, 7 Oct 2008 15:41:49 +0000 (15:41 +0000)
main.c

diff --git a/main.c b/main.c
index 03ead0bc9371374740c0a85ffb19839107a0b84d..8835f64fd2c2cc4b09d0c4e0235bf203a4ef959b 100644 (file)
--- 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;