Fixed some warnings.

This commit is contained in:
jbo_85
2005-06-11 17:56:37 +00:00
parent 707e8dbe13
commit 07ec0c3f5b
3 changed files with 6 additions and 5 deletions

View File

@@ -2185,9 +2185,9 @@ void DSP4SetByte()
// unknown // unknown
case 0x000A: case 0x000A:
{ {
int16 in1a = DSP4_READ_WORD(); //int16 in1a = DSP4_READ_WORD();
int16 in2a = DSP4_READ_WORD(); int16 in2a = DSP4_READ_WORD();
int16 in3a = DSP4_READ_WORD(); //int16 in3a = DSP4_READ_WORD();
int16 out1a, out2a, out3a, out4a; int16 out1a, out2a, out3a, out4a;
DSP4_OP0A(in2a, &out2a, &out1a, &out4a, &out3a); DSP4_OP0A(in2a, &out2a, &out1a, &out4a, &out3a);

View File

@@ -697,7 +697,6 @@ DWORD ZFileSeek()
else else
{ {
#endif #endif
int res = 0;
int mode = 0; int mode = 0;
if (ZFileSeekMode==0) if (ZFileSeekMode==0)
mode = SEEK_SET; mode = SEEK_SET;

View File

@@ -124,10 +124,12 @@ char *generate_filename(void)
{ {
extern char fnames; extern char fnames;
char *filename; char *filename;
char *tmp = &fnames;
char *tmp2 = 0;
short i=0; short i=0;
struct stat buf; struct stat buf;
char *tmp = &fnames;
#ifdef __LINUX__
char *tmp2 = 0;
#endif
#ifdef __MSDOS__ #ifdef __MSDOS__
filename = (char *)malloc(14); filename = (char *)malloc(14);