From 7e686e5137647591b86fb1832bd0b17cb2876d02 Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Fri, 2 Mar 2012 14:24:50 -0300 Subject: [PATCH] [xmp] Remove unused load-only option Functionality is supplied by the -i (information and exit) option. Signed-off-by: Claudio Matsuoka --- src/common.h | 1 - src/options.c | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/common.h b/src/common.h index 258f6df..53f8662 100644 --- a/src/common.h +++ b/src/common.h @@ -8,7 +8,6 @@ struct options { int mix; /* channel separation */ int loop; /* loop module */ int random; /* play in random order */ - int load_only; /* load module and exit */ int verbose; int silent; /* silent output */ int info; /* display information and exit */ diff --git a/src/options.c b/src/options.c index 5750bac..6d5377d 100644 --- a/src/options.c +++ b/src/options.c @@ -27,7 +27,6 @@ extern int nocmd; extern int rt; #endif -#define OPT_LOADONLY 0x103 #define OPT_FX9BUG 0x105 #define OPT_PROBEONLY 0x106 #define OPT_STDOUT 0x109 @@ -177,6 +176,7 @@ void get_options(int argc, char **argv, struct options *options) break; case 'i': options->info = 1; + options->silent = 1; break; case 'L': { char **list; @@ -190,9 +190,6 @@ void get_options(int argc, char **argv, struct options *options) case 'l': options->loop = 1; break; - case OPT_LOADONLY: - options->load_only = 1; - break; case 'm': options->format |= XMP_FORMAT_MONO; break;