1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-11 09:31:13 +02:00

Eliminate MSVC compiler warnings.

This commit is contained in:
v.audacity 2010-09-02 03:32:35 +00:00
parent c31e01e980
commit 4c72458c6c
3 changed files with 11 additions and 4 deletions

View File

@ -603,6 +603,7 @@ LVAL xcleanup(void)
{ {
xllastarg(); xllastarg();
xlcleanup(); xlcleanup();
return (NIL);
} }
/* xtoplevel - special form 'top-level' */ /* xtoplevel - special form 'top-level' */
@ -610,6 +611,7 @@ LVAL xtoplevel(void)
{ {
xllastarg(); xllastarg();
xltoplevel(); xltoplevel();
return (NIL);
} }
/* xcontinue - special form 'continue' */ /* xcontinue - special form 'continue' */
@ -617,6 +619,7 @@ LVAL xcontinue(void)
{ {
xllastarg(); xllastarg();
xlcontinue(); xlcontinue();
return (NIL);
} }
/* xevalhook - eval hook function */ /* xevalhook - eval hook function */

View File

@ -397,6 +397,7 @@ LOCAL OFFTYPE cvoptr(LVAL p)
/* pointer not within any segment */ /* pointer not within any segment */
xlerror("bad pointer found during image save",p); xlerror("bad pointer found during image save",p);
return (NIL);
} }
#endif #endif

View File

@ -39,12 +39,12 @@ extern char buf[];
/* external routines */ /* external routines */
extern FILE *osaopen(); extern FILE *osaopen();
/* on the NeXT, atof is a macro in stdlib.h */ /* on the NeXT, atof is a macro in stdlib.h */
#ifndef atof #if !defined(atof) && !defined(_WIN32)
extern double atof(); extern double atof();
#endif #endif
#ifndef __MWERKS__ #ifndef __MWERKS__
#ifdef ITYPE #if !defined(ITYPE) && !defined(_WIN32)
extern ITYPE; extern ITYPE;
#endif #endif
#endif #endif
@ -334,7 +334,10 @@ int readone(LVAL fptr, LVAL *pval)
/* handle illegal characters */ /* handle illegal characters */
else else
{
xlerror("illegal character",cvfixnum((FIXTYPE)ch)); xlerror("illegal character",cvfixnum((FIXTYPE)ch));
return (FALSE);
}
} }
/* rmhash - read macro for '#' */ /* rmhash - read macro for '#' */