diff options
author | Max Kellermann <max@duempel.org> | 2008-10-02 15:44:21 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-02 15:44:21 +0200 |
commit | 36470979d9f3518217fc26987558dafb3ab36f5c (patch) | |
tree | 5ebeb5b306faafca9c52f1696f4be9851b4fa9b1 /src/conf.c | |
parent | 9526f180e6f55654c99bd8d66c71612a32b0fb4e (diff) | |
download | mpd-36470979d9f3518217fc26987558dafb3ab36f5c.tar.gz mpd-36470979d9f3518217fc26987558dafb3ab36f5c.tar.xz mpd-36470979d9f3518217fc26987558dafb3ab36f5c.zip |
removed the debugging function D()
gdb is for debugging. We don't need D() calls littered all over.
Diffstat (limited to 'src/conf.c')
-rw-r--r-- | src/conf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/conf.c b/src/conf.c index 557024dc5..79bbfd3a1 100644 --- a/src/conf.c +++ b/src/conf.c @@ -362,7 +362,6 @@ read_rc_file(char *filename, options_t *options) if( filename==NULL ) return -1; - D("Reading configuration file %s\n", filename); if( (fd=open(filename,O_RDONLY)) <0 ) { perror(filename); @@ -474,8 +473,6 @@ read_rc_file(char *filename, options_t *options) { g_free(options->timedisplay_type); options->timedisplay_type=g_strdup(parse_timedisplay_type(value)); - D("deb"); - D(options->timedisplay_type); } /* color definition */ else if( !strcasecmp(CONF_COLOR_DEFINITION, name) ) @@ -587,14 +584,10 @@ read_rc_file(char *filename, options_t *options) fprintf(stderr, _("Unknown configuration parameter: %s\n"), name); - D("conf> %s = %s %s\n", name, value, - match_found ? "" : "- UNKNOWN SETTING!" ); } } } - D("--\n\n"); - if( free_filename ) g_free(filename); |