fix several errors/warnings which only appear with -O3

git-svn-id: https://svn.musicpd.org/mpd/trunk@7333 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Max Kellermann 2008-04-12 04:20:45 +00:00 committed by Eric Wong
parent a25a7624f0
commit 1db6478491
2 changed files with 3 additions and 1 deletions

View File

@ -342,6 +342,8 @@ static void * decoder_task(void *arg)
decoder_sleep(dc);
}
}
return NULL;
}
void decoderInit(DecoderControl * dc)

View File

@ -721,7 +721,7 @@ int inputStream_httpSeek(InputStream * inStream, long offset, int whence)
static void parseIcyMetadata(InputStream * inStream, char *metadata, int size)
{
char *r;
char *r = NULL;
char *s;
char *temp = xmalloc(size + 1);
memcpy(temp, metadata, size);