diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-10 13:03:20 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-10 13:03:20 +0000 |
commit | 5277e4f07581b446f953196c04d258ca3b8c8990 (patch) | |
tree | 37fca17f0ca038c6b49619ea3a4483ee13cb9e01 | |
parent | 286467904aaba21eb40a7a4c24123da56c034134 (diff) |
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'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24405 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | loader/win32.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/loader/win32.c b/loader/win32.c index 21998ab381..6b76284ecf 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -1748,8 +1748,8 @@ static HANDLE WINAPI expCreateSemaphoreA(char* v1, long init_count, { 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 expGetEnvironmentStrings() 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* name) { int result = 0; char* lastbc; - int i; if (!name) return -1; // we skip to the last backslash @@ -2783,7 +2781,6 @@ static int WINAPI expWritePrivateProfileStringA(const char* appname, 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(SYSTEMTIME* systime) #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 expGetSystemTimeAsFileTime(FILETIME* systime) 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) |