Mercurial > mplayer.hg
changeset 961:8618658d3ef8
Removing annoying 'Reading config file ...' message when you run without verbose mode (-v)
author | lgb |
---|---|
date | Sun, 03 Jun 2001 01:46:28 +0000 |
parents | 05088aa85610 |
children | 2d789c135fd7 |
files | cfgparser.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cfgparser.c Sun Jun 03 00:41:07 2001 +0000 +++ b/cfgparser.c Sun Jun 03 01:46:28 2001 +0000 @@ -30,6 +30,8 @@ #include "cfgparser.h" +extern int verbose; + static struct config *config; static int nr_options; /* number of options in 'conf' */ static int parser_mode; /* COMMAND_LINE or CONFIG_FILE */ @@ -251,7 +253,7 @@ return -1; } - printf("Reading config file: %s", conffile); + if (verbose) printf("Reading config file: %s", conffile); if (init_conf(conf, CONFIG_FILE) == -1) { ret = -1;