[MPlayer-cvslog] r24405 - trunk/loader/win32.c
diego
subversion at mplayerhq.hu
Mon Sep 10 15:03:20 CEST 2007
Author: diego
Date: Mon Sep 10 15:03:20 2007
New Revision: 24405
Log:
warning fixes:
win32.c: In function 'expCreateSemaphoreA':
win32.c:1751: warning: unused variable 'pp'
win32.c: In function 'expGetStartupInfoA':
win32.c:2187: warning: unused variable 'i'
win32.c: In function 'expLoadLibraryA':
win32.c:2298: warning: unused variable 'i'
win32.c: In function 'expWritePrivateProfileStringA':
win32.c:2786: warning: unused variable 'size'
win32.c: In function 'expGetSystemTimeAsFileTime':
win32.c:3136: warning: unused variable 'local_tm'
win32.c: In function 'expGetEnvironmentVariableA':
win32.c:3150: warning: unused variable 'p'
win32.c: In function 'LookupExternalByName':
win32.c:5371: warning: unused variable 'answ'
Modified:
trunk/loader/win32.c
Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c (original)
+++ trunk/loader/win32.c Mon Sep 10 15:03:20 2007
@@ -1748,8 +1748,8 @@ static HANDLE WINAPI expCreateSemaphoreA
{
pthread_mutex_t *pm;
pthread_cond_t *pc;
- mutex_list* pp;
/*
+ mutex_list* pp;
printf("CreateSemaphoreA(%p = %s)\n", name, (name ? name : "<null>"));
pp=mlist;
while(pp)
@@ -2184,7 +2184,6 @@ static LPCSTR WINAPI expGetEnvironmentSt
static int WINAPI expGetStartupInfoA(STARTUPINFOA *s)
{
- int i;
dbgprintf("GetStartupInfoA(0x%x) => 1\n");
memset(s, 0, sizeof(*s));
s->cb=sizeof(*s);
@@ -2295,7 +2294,6 @@ static int WINAPI expLoadLibraryA(char*
{
int result = 0;
char* lastbc;
- int i;
if (!name)
return -1;
// we skip to the last backslash
@@ -2783,7 +2781,6 @@ static int WINAPI expWritePrivateProfile
const char* string,
const char* filename)
{
- int size=256;
char* fullname;
dbgprintf("WritePrivateProfileStringA('%s', '%s', '%s', '%s')", appname, keyname, string, filename );
if(!(appname && keyname && filename) )
@@ -3133,7 +3130,6 @@ static int WINAPI expGetSystemTime(SYSTE
#define SECS_1601_TO_1970 ((369 * 365 + 89) * 86400ULL)
static void WINAPI expGetSystemTimeAsFileTime(FILETIME* systime)
{
- struct tm *local_tm;
struct timeval tv;
unsigned long long secs;
@@ -3147,7 +3143,7 @@ static void WINAPI expGetSystemTimeAsFil
static int WINAPI expGetEnvironmentVariableA(const char* name, char* field, int size)
{
- char *p;
+ //char *p;
// printf("%s %x %x\n", name, field, size);
if(field)field[0]=0;
/*
@@ -5368,7 +5364,6 @@ no_dll:
void* LookupExternalByName(const char* library, const char* name)
{
- char* answ;
int i,j;
// return (void*)ext_unknown;
if(library==0)
More information about the MPlayer-cvslog
mailing list