summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-10-11 12:33:57 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:18:10 +0200
commited8e92afccc1123340c31cffed3dd403408ef032 (patch)
treeb995b42ac9f0206f5b8f7023232ef591826487fc /loader
parent2865993869175737a9d5033e46471d6934db2713 (diff)
downloadmpv-ed8e92afccc1123340c31cffed3dd403408ef032.tar.bz2
mpv-ed8e92afccc1123340c31cffed3dd403408ef032.tar.xz
Remove #warning preprocessor directives
The #warning preprocessor directive is non-standard and not available with all compilers. Furthermore, the warnings it causes are noisy and have not led to getting any of the underlying issues fixed in the space of a decade. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32480 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r--loader/dshow/DS_VideoDecoder.c4
-rw-r--r--loader/ext.c2
-rw-r--r--loader/pe_image.c4
-rw-r--r--loader/vfl.c2
-rw-r--r--loader/win32.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/loader/dshow/DS_VideoDecoder.c b/loader/dshow/DS_VideoDecoder.c
index f4e72917f0..8af025b475 100644
--- a/loader/dshow/DS_VideoDecoder.c
+++ b/loader/dshow/DS_VideoDecoder.c
@@ -687,7 +687,7 @@ int DS_VideoDecoder_GetValue(DS_VideoDecoder *this, const char* name, int* value
IHidden* hidden=(IHidden*)((int)m_pDS_Filter->m_pFilter+0xb8);
if (strcmp(name, "Quality") == 0)
{
-#warning NOT SURE
+ // NOT SURE
int r = hidden->vt->GetSmth2(hidden, &value);
if (value >= 10)
value -= 10;
@@ -715,7 +715,7 @@ int DS_VideoDecoder_GetValue(DS_VideoDecoder *this, const char* name, int* value
Debug printf("No such interface\n");
return -1;
}
-#warning FIXME
+ // FIXME
int recordpar[30];
recordpar[0]=0x7c;
recordpar[1]=fccIV50;
diff --git a/loader/ext.c b/loader/ext.c
index 9c00d1988b..26b6a5a3c3 100644
--- a/loader/ext.c
+++ b/loader/ext.c
@@ -473,7 +473,7 @@ LPVOID WINAPI VirtualAlloc(LPVOID address, DWORD size, DWORD type, DWORD protec
}
if(str->state==0)
{
-#warning FIXME
+ // FIXME
if( ((unsigned)address >= (unsigned)str->address)
&& ((unsigned)address+size<=(unsigned)str->address+str->mapping_size)
&& (type & MEM_COMMIT))
diff --git a/loader/pe_image.c b/loader/pe_image.c
index b4bdba90c8..b13dfd0130 100644
--- a/loader/pe_image.c
+++ b/loader/pe_image.c
@@ -292,7 +292,7 @@ static DWORD fixup_imports( WINE_MODREF *wm )
if (characteristics_detection && !pe_imp->u.Characteristics)
break;
-//#warning FIXME: here we should fill imports
+ /* FIXME: here we should fill imports */
TRACE("Loading imports for %s.dll\n", name);
if (pe_imp->u.OriginalFirstThunk != 0) {
@@ -452,7 +452,7 @@ HMODULE PE_LoadImage( int handle, LPCSTR filename, WORD *version )
file_size=lseek(handle, 0, SEEK_END);
lseek(handle, 0, SEEK_SET);
-//#warning fix CreateFileMappingA
+ // fix CreateFileMappingA
mapping = CreateFileMappingA( handle, NULL, PAGE_READONLY | SEC_COMMIT,
0, 0, NULL );
if (!mapping)
diff --git a/loader/vfl.c b/loader/vfl.c
index e5d0445b92..7a3f4cdbcd 100644
--- a/loader/vfl.c
+++ b/loader/vfl.c
@@ -218,7 +218,7 @@ LRESULT VFWAPI ICClose(HIC hic) {
/* FIXME: correct? */
// CloseDriver(whic->hdrv,0,0);
DrvClose(whic->hdrv);
-//#warning FIXME: DrvClose
+ /* FIXME: DrvClose */
free(whic);
return 0;
}
diff --git a/loader/win32.c b/loader/win32.c
index 1f717c9020..50ca797e8d 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -1735,7 +1735,7 @@ static int WINAPI expLoadStringA(long instance, long id, void* buf, long size)
static long WINAPI expMultiByteToWideChar(long v1, long v2, char* s1, long siz1, short* s2, int siz2)
{
-#warning FIXME
+ /* FIXME */
int i;
int result;
if(s2==0)
@@ -3190,7 +3190,7 @@ static int WINAPI expGetProcessVersion(int pid)
}
static int WINAPI expGetCurrentThread(void)
{
-#warning FIXME!
+ /* FIXME! */
dbgprintf("GetCurrentThread() => %x\n", 0xcfcf9898);
return 0xcfcf9898;
}