Use correct types and remove unused variables

This commit is contained in:
Yamagi Burmeister 2012-06-03 13:26:17 +02:00
parent d9560b4020
commit e8d44459a4

View file

@ -226,8 +226,8 @@ char *
Sys_ConsoleInput(void) Sys_ConsoleInput(void)
{ {
INPUT_RECORD recs[1024]; INPUT_RECORD recs[1024];
int dummy; int ch;
int ch, numread, numevents; DWORD dummy, numread, numevents;
if (!dedicated || !dedicated->value) if (!dedicated || !dedicated->value)
{ {
@ -310,8 +310,8 @@ Sys_ConsoleInput(void)
void void
Sys_ConsoleOutput(char *string) Sys_ConsoleOutput(char *string)
{ {
int dummy;
char text[256]; char text[256];
DWORD dummy;
if (!dedicated || !dedicated->value) if (!dedicated || !dedicated->value)
{ {
@ -411,7 +411,6 @@ Sys_GetGameAPI(void *parms)
const char *gamename = "game.dll"; const char *gamename = "game.dll";
char name[MAX_OSPATH]; char name[MAX_OSPATH];
char *path = NULL; char *path = NULL;
char cwd[MAX_OSPATH];
if (game_library) if (game_library)
{ {