# HG changeset patch # User Sadrul Habib Chowdhury # Date 1230771874 0 # Node ID b2f8b1e1e7cc7e3167961a1e7e819f6142e5d00d # Parent bbcdb1786edaee7bcd07517f703198cf5ebd93e0 Remove unused option, thanks to KuSh. Closes #7856. diff -r bbcdb1786eda -r b2f8b1e1e7cc finch/finch.c --- a/finch/finch.c Wed Dec 31 23:49:36 2008 +0000 +++ b/finch/finch.c Thu Jan 01 01:04:34 2009 +0000 @@ -229,7 +229,6 @@ gboolean opt_nologin = FALSE; gboolean opt_version = FALSE; char *opt_config_dir_arg = NULL; - char *opt_session_arg = NULL; gboolean debug_enabled = FALSE; struct option long_options[] = { @@ -237,7 +236,6 @@ {"debug", no_argument, NULL, 'd'}, {"help", no_argument, NULL, 'h'}, {"nologin", no_argument, NULL, 'n'}, - {"session", required_argument, NULL, 's'}, {"version", no_argument, NULL, 'v'}, {0, 0, 0, 0} }; @@ -256,7 +254,7 @@ opterr = 1; while ((opt = getopt_long(argc, argv, #ifndef _WIN32 - "c:dhn::s:v", + "c:dhn::v", #else "c:dhn::v", #endif @@ -275,10 +273,6 @@ case 'n': /* no autologin */ opt_nologin = TRUE; break; - case 's': /* use existing session ID */ - g_free(opt_session_arg); - opt_session_arg = g_strdup(optarg); - break; case 'v': /* version */ opt_version = TRUE; break;