[xmp] Remove unused load-only option

Functionality is supplied by the -i (information and exit) option.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
master
Claudio Matsuoka 14 years ago
parent 65455aa63d
commit 7e686e5137
  1. 1
      src/common.h
  2. 5
      src/options.c

@ -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 */

@ -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;

Loading…
Cancel
Save