diff options
author | Mikhail Gusarov <dottedmag@dottedmag.net> | 2010-06-12 01:05:07 +0700 |
---|---|---|
committer | Mikhail Gusarov <dottedmag@dottedmag.net> | 2010-06-20 05:36:22 +0700 |
commit | c20166739603f86888f28ca2c65f5cf474d0d8c9 (patch) | |
tree | f37c9c9c0c51c55ee2ebeaf1e877479b5ead1bc9 | |
parent | 2e15f1903dac8473285ad2937c079a08cf7c5d31 (diff) |
os: Remove unused dev_tty_from_init variable
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
-rw-r--r-- | os/utils.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/os/utils.c b/os/utils.c index f6bcecb2d..51455cca1 100644 --- a/os/utils.c +++ b/os/utils.c @@ -205,8 +205,6 @@ int auditTrailLevel = 1; #define HAS_SAVED_IDS_AND_SETEUID #endif -static char *dev_tty_from_init = NULL; /* since we need to parse it anyway */ - OsSigHandlerPtr OsSignal(int sig, OsSigHandlerPtr handler) { @@ -879,8 +877,7 @@ ProcessCommandLine(int argc, char *argv[]) } else if (strncmp (argv[i], "tty", 3) == 0) { - /* just in case any body is interested */ - dev_tty_from_init = argv[i]; + /* init supplies us with this useless information */ } #ifdef XDMCP else if ((skip = XdmcpOptions(argc, argv, i)) != i) |