Skip to content

Commit

Permalink
os: Remove unused dev_tty_from_init variable
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Gusarov <[email protected]>
Reviewed-by: Jamey Sharp <[email protected]>
  • Loading branch information
dottedmag committed Jun 19, 2010
1 parent 2e15f19 commit c201667
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions os/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c201667

Please sign in to comment.