Fixed warning.

This commit is contained in:
johns 2002-12-06 22:22:11 +00:00
parent c93ae2c406
commit 77a3eae598
2 changed files with 4 additions and 4 deletions
src

View file

@ -239,7 +239,7 @@ local void SplitTextIntoLines(const char* text,int w,TextLines** lines)
(s1[0]=='\r' && s1[1]=='\n') ) {
x1=s1+1;
x2=s1+2;
while( *x1++ = *x2++ ) {
while( (*x1++ = *x2++) ) {
}
}
*s1++='\n';

View file

@ -81,10 +81,10 @@ local const SampleType CDStreamSampleType = {
** @return Returns the loaded sample.
**
*/
global Sample* LoadCD(const char* name, int flags)
global Sample* LoadCD(const char* name __attribute__((unused)),
int flags __attribute__((unused)))
{
Sample* sample = NULL;
int i;
Sample* sample;
sample = malloc(sizeof(*sample));
sample->Channels = 2;