From cde2355cbdff794574fb9d105b016adf803fb138 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 9 Feb 2006 09:29:55 +0000 Subject: fix variable declaration CVS patchset: 7888 CVS date: 2006/02/09 09:29:55 --- src/input/input_cdda.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c index 96c217919..d1940f831 100644 --- a/src/input/input_cdda.c +++ b/src/input/input_cdda.c @@ -20,7 +20,7 @@ * Compact Disc Digital Audio (CDDA) Input Plugin * by Mike Melanson (melanson@pcisys.net) * - * $Id: input_cdda.c,v 1.83 2006/02/05 14:32:07 miguelfreitas Exp $ + * $Id: input_cdda.c,v 1.84 2006/02/09 09:29:55 miguelfreitas Exp $ */ #ifdef HAVE_CONFIG_H @@ -1561,6 +1561,7 @@ static void _cdda_cddb_socket_close(cdda_input_plugin_t *this) { static int _cdda_cddb_retrieve(cdda_input_plugin_t *this) { cdda_input_class_t *this_class = (cdda_input_class_t *)this->class; char buffer[2048], buffercache[32768], *m, *p; + char *dtitle = NULL; int err, i; if(this == NULL) { @@ -1735,8 +1736,6 @@ static int _cdda_cddb_retrieve(cdda_input_plugin_t *this) { this->cddb.have_cddb_info = 1; memset(&buffercache, 0, sizeof(buffercache)); - char *dtitle = NULL; - while (strcmp(buffer, ".")) { char buf[2048]; int tnum; -- cgit v1.2.3