X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincctl.c;h=4dd9726fe5a2ed6d52af3272ef173fa230a7f236;hb=a29e6b49ef7a184941ab8cda2de9487744a82f83;hp=14faf6454c38bedb97e8b0f72c531d2d3d31d30f;hpb=1545909dcb3ac618754486f4ccd4d8f237d64bb7;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index 14faf645..4dd9726f 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -48,7 +48,6 @@ #endif static char **orig_argv; -static int orig_argc; /* If nonzero, display usage information and exit. */ static bool show_help = false; @@ -72,7 +71,6 @@ static int result; bool force = false; bool tty = true; bool confbasegiven = false; -bool netnamegiven = false; char *scriptinterpreter = NULL; char *scriptextension = ""; static char *prompt; @@ -3272,7 +3270,6 @@ static void cleanup() { int main(int argc, char *argv[]) { program_name = argv[0]; orig_argv = argv; - orig_argc = argc; tty = isatty(0) && isatty(1); if(!parse_options(argc, argv)) {