Fixed warning.
This commit is contained in:
parent
c93ae2c406
commit
77a3eae598
2 changed files with 4 additions and 4 deletions
|
@ -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';
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue